9

When creating a "Windows Application" project in the new .NET SDK style project format for .NET 472, there is no "Publish" section in the project properties to configure the ClickOnce deployment.

Project Properties

Is there any solution/workaround to use ClickOnce with the new project format?

thalm
  • 2,738
  • 2
  • 35
  • 49
  • What is specifically "WinExe"? That project template doesn't exist. What .NET version does that project target? – Camilo Terevinto Mar 21 '19 at 13:25
  • That is "Windows Application" for net framework 472. – thalm Mar 21 '19 at 13:29
  • 1
    Ensure you have ClickOnce tools selected on Visual Studio Installer, because I publish .NET projects quite often – Camilo Terevinto Mar 21 '19 at 13:32
  • @CamiloTerevinto Do you use the new .csproj project format with transitive nuget references? If i create a windows application with the old format, the publish tab is there and it works normally. – thalm Mar 21 '19 at 13:59
  • Keep in mind that you can publish a single file out of such projects (WinForms/WPF). ClickOnce or MSI is less useful here. – Lex Li Apr 18 '20 at 14:19
  • 1
    What I'm looking for is the ClickOnce feature that updates the application on the user side when starting the application. – thalm Apr 18 '20 at 14:56
  • 1
    For years, it still not support to publish clickonce application. I send a new request, https://developercommunity.visualstudio.com/t/SDK-style-project-which-target-net48-abl/10185955 – Cason Oct 31 '22 at 11:01

0 Answers0