【发布时间】:2021-09-06 08:02:55
【问题描述】:
我正在尝试在 teamcity 中设置构建管道。我的管道在.Net build 失败了 看起来teamcity 正在尝试使用.Net core 3.1 构建它,而我的解决方案是.Net 5
完整的错误信息:C:\Program Files\dotnet\sdk\3.1.202\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v5.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
如何告诉 teamcity 构建代理使用特定的 .Net 版本来构建我的应用程序?
【问题讨论】:
标签: .net continuous-integration teamcity continuous-deployment