How to create .exe or .msi file for a .NET Core WPF app using Visual Studio Installer

preview_player
Показать описание

Note :
This only works when end user computer installed with .Net Core Runtime. Otherwise, when you start the app a dialog box will be shown to the user to download the .Net Core SDK from the official website using a web browser.

You can add prerequisite of .Net Core Runtime from properties of setup project, which again shows the same dialog box to download it from the official website using a web browser.

It is better to publish the app as a self-contained package which in turn contains all the runtime libraries to run the app. In this case presence of .Net Core Runtime on end user computer is not needed.

Video on "How to create a self-contained .exe file from a .NET Core WPF App"

Apps I’ve created for Android and Windows, please give a try
------------------------------------------------------------------------
RSS Feed Fetcher (RSS feed reader for Windows)

RSS Feed Fetcher (RSS feed reader for Android)

Podcast Fetcher (Podcast player for Windows)

Podcast Fetcher Lite (Free podcast player for Windows)

Battery Level Alarm (Battery app for Windows)
Рекомендации по теме
Комментарии
Автор

Thank you so much, it helped! I subscribe!

pxtr
Автор

could you make a video introduce how to create custom action on the installer project

TheMefian
Автор

I can't find - WPF App (.NET Core ) in my visual studio please help me out

nutralgaming
Автор

How do we add signature to avoid setup issues under secured network

ramashashank
Автор

Thanks for the tutorial! Do you have any idea on how we can auto update the app during startup?

KrakenZYT