升级 .NET CORE 后:此项目与当前版本 Visual Studio 不兼容
After upgrading .NET CORE : This project is incompatible with the current version of Visual Studio
所以我决定将 dotnet 核心项目从版本 1.0.0 迁移到 2.1.4(最新)。我从 .NET 官方网站下载了 SDK。一切安装完毕,打开Visual Studio2015,惊呆了。
所有项目(字面意思是所有项目,甚至是那些根本不使用核心的项目)都没有成功加载。显示的错误消息是:
“This project is incompatible with the current version of Visual Studio”
你能给我一些新手的建议吗?我读过这个主题:"This project is incompatible with the current version of Visual Studio"
但是,.csproj 文件包含以下内容:
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
根据 Microsoft 文档,您需要 Visual Studio 2017 版本 15.7 或更高版本才能使用 .NET Core 2.1 应用程序。
如果您没有 Visual Studio 2017 的许可证,您可以在 Visual Studio 代码中打开它(它是免费的)。
所以我决定将 dotnet 核心项目从版本 1.0.0 迁移到 2.1.4(最新)。我从 .NET 官方网站下载了 SDK。一切安装完毕,打开Visual Studio2015,惊呆了。
所有项目(字面意思是所有项目,甚至是那些根本不使用核心的项目)都没有成功加载。显示的错误消息是:
“This project is incompatible with the current version of Visual Studio”
你能给我一些新手的建议吗?我读过这个主题:"This project is incompatible with the current version of Visual Studio"
但是,.csproj 文件包含以下内容:
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
根据 Microsoft 文档,您需要 Visual Studio 2017 版本 15.7 或更高版本才能使用 .NET Core 2.1 应用程序。
如果您没有 Visual Studio 2017 的许可证,您可以在 Visual Studio 代码中打开它(它是免费的)。