dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.2k stars 9.93k forks source link

ClickOnce support for AspNet+WinForm projects (Electron-like) #35935

Closed JohnKiller closed 3 years ago

JohnKiller commented 3 years ago

Is your feature request related to a problem? Please describe.

ClickOnce deployment is not supported by project sdk Microsoft.NET.Sdk.Web

Describe the solution you'd like

I would like to publish an ASP.NET core app with ClickOnce in an Electron way

Additional context

This may be related to Blazor desktop/MAUI. What I would like to do is create an Electron-like application using WebView2 and a React/Angular app hosted on a Windows Forms app, and then publish the bundle with ClickOnce.

If I change the project SDK to Microsoft.NET.Sdk then I can publish it, but npm never gets called so it doesn't compile.

Is this a supported scenario?

javiercn commented 3 years ago

@JohnKiller thanks for contacting us.

We've added support for this recently, it will be available in RC1.

ghost commented 3 years ago

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.