| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Prerequisites: vpk command line tool installed
This app demonstrates how to use WPF to provide a desktop UI, installer, and updates for Windows only.
You can run this sample by executing the build script with a version number: build.bat 1.0.0. Once built, you can install the app - build more updates, and then test updates and so forth. The sample app will check the local release dir for new update packages.
In your production apps, you should deploy your updates to some kind of update server instead.
WPF generates a Program.Main(argv[]) method automatically for you, so it requires a couple of extra steps to get Velopack working with WPF.
<PropertyGroup>
<StartupObject>YourNamespace.Program</StartupObject>
</PropertyGroup>[STAThread]
public static void Main(string[] args)
{
VelopackApp.Build().Run();
var application = new App();
application.InitializeComponent();
application.Run();
}| Back | FazBrowse Home | New Git URL |