rt
各位大侠:
目前本人遇到一个棘手的问题,我将我的工程从dotnet core 2.2 升级到了 3.1,但发现 pipeline的publish命令:
之前的 2.2 版本的:
C:\Program Files\dotnet\dotnet.exe" publish src\myService\myService.csproj --output ./bin/Release --self-contained true --framework netcoreapp2.2 --runtime win10-x64 --configuration Release
生成的exe,dll文件都在 .\appnetcore2.2 文件夹里
但不知道为什么 3.3 版本的publish命令:
C:\Program Files\dotnet\dotnet.exe" publish src\myService\myService.csproj --output ./bin/Release --self-contained true --framework netcoreapp3.1 --runtime win10-x64 --configuration Release
生成的exe,dll文件都在 .\appnetcore3.1\win10-x64 文件夹里
我估计就是文件夹路径的差距,导致service启动不了。
不知道大家有什么建议吗?
谢谢谢谢
--
FROM 184.177.188.*