mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Merge pull request #819 from kenbailey/docs-integrating-note
Docs Update for Getting Started Integrating (replaces #793)
This commit is contained in:
@@ -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)|
|
||||
|:---|:---|
|
||||
|
||||
@@ -21,6 +21,8 @@ Executing MyApp from Visual Studio will now cause it to complete the update proc
|
||||
|
||||

|
||||
|
||||
**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.
|
||||
|
||||
Reference in New Issue
Block a user