【发布时间】:2020-02-17 12:10:01
【问题描述】:
我正在将现有的 ASP.NET Core 2.2 Web 应用程序迁移到 3.0。我更新了 .csproj 文件和所有支持 3.0 的引用。一切都在我的开发机器上编译,但是当我尝试在构建服务器上构建应用程序时(TFS 2015 与 ASP.NET Core 3.0 的 SDK/运行时)我收到此错误。
The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.2 or lower, or use a version of the .NET SDK that supports .NET Core 3.0
我在 .csproj 中正确引用了 ASP.NET Core 框架
这是我的 Visual Studio 项目中的项目依赖项。
现在一切都引用 3.0 时,为什么 MSBUILD 仍然尝试引用 ASP.NET Core 2.2?
【问题讨论】:
标签: asp.net-core asp.net-core-2.2 asp.net-core-3.0