![]() ![]() We’ll select the Sideloading option (disabling automatic updates) and select Yes to signing the application (we’ll need to select or create a certificate for signing – don’t forget to Trust the certificate to make sure you can install the generated package). We’ll go ahead now and attempt to publish the application – right-click on the packaging project and select Publish, followed by Create App Packages. Do this by right-clicking the project in Solution Explorer and clicking Set as Startup Project.Īt this point make sure you can build and run the WPF application – yes, running the packaging project should launch your WPF application in the context it would be once deployed via the package. ![]() Then, right-click on the Applications node and select Add Reference.Ĭheck the box alongside the WPF application, PackagingWPF and click OK.Īfter adding the WPF application, we then need to set the packaging project to be the Startup Project. Next I’m going to add another project, this time based on the Windows Application Packaging Project template. At this stage I’m not even going to both modifying the application. To set the scene I have a new application, PackagingWPF, that I created based on the WPF Application project template. Here’s a quick fix for an error I came across when I’ve been experimenting with various packaging options for WPF (Win32) applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |