Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我发布我的 blazor 客户端应用程序时,应用程序的服务器部分(由 asp.net 核心托管)似乎没有发布。
当我无法访问应用程序的任何 api 端点时,我发现出了点问题。
我可以做些什么来发布所有项目/程序集?
使用命令行在您的解决方案文件夹中运行dotnet publish -c Release -o {pat to your output folder}。这将在解决方案文件夹下构建和发布您的所有项目。
dotnet publish -c Release -o {pat to your output folder}