Merge pull request #819 from kenbailey/docs-integrating-note

Docs Update for Getting Started Integrating (replaces #793)
This commit is contained in:
Paul Betts
2016-09-09 12:45:24 -07:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ The code above demonstrates the most basic update mechanism using the `UpdateApp
**Tip:** In this example we simply put the code in the `Program.cs` file. For a production application, place the update code later in start-up process so as to avoid slowing down your program start.
**Tip:** If you attempt to debug the application via Visual Studio, you will get an exception of `Update.exe not found, not a Squirrel-installed app?`. You can resolve this by placing a copy of the Update.exe in your bin directory (see [Debugging Updates: Update.exe not found?](../using/debugging-updates.md) section for details).
---
| Previous: [Getting Started Guide](0-overview.md) | Next: [2. Packaging](2-packaging.md)|
|:---|:---|

View File

@@ -21,6 +21,8 @@ Executing MyApp from Visual Studio will now cause it to complete the update proc
![](images/debugging-update-dir.png)
**Tip:** If you want to ensure that the Update.exe is always available in your output directory, you can add the Update.exe file to the Visual Studio project and set its Properties > Copy To Output Directory to 'Copy if newer'.
## Catching Update Exceptions
You can catch thrown exceptions and log the results.