Make it possible to embed wwwroot in single file publish
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
VS的发布功能中提供了“生成单个文件”的选项,这方便我们将程序打包并部署到用户的环境中。
目前准备使用aspnetcore配合此功能实现桌面端程序,但是存在两个问题:
1、即便使用此选项发布的项目,发布文件中还会包含“wwwroot”文件夹,里面包含了web使用了很多文件,这增加了复制和部署的成本。
2、运行发布的程序后,只会打开一个命令提示符,并没有自动帮我启动浏览器以打开项目的站点


### Describe the solution you'd like
我希望发布中提供以下功能
1、提供一个选项可以将“wwwroot”打包到“SingleFileDemo.ext”中,实现真正的“生成单个文件”。
2、增加“启动时自动打开站点”选项,这样用户运行程序,自动打开浏览器,并进入站点,这样就能直接使用aspnetcore开发用户桌面端程序了
为什么不用MAUI?
因为我有很多客户的系统依旧在使用Windows7或者Windows8
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.