我已经安装了VS2017 Enterprise 15.6.4.最近从官方网站
I have already installed VS2017 Enterprise 15.6.4. Recently installed .NET Core 2.1.101 SDK from official site
如果我创建控制台或asp核心应用程序,我期望.NET Core 2.1作为可用的目标框架之一.有人可以帮助我了解我在这里缺少什么.
I was expecting .NET Core 2.1 as one of the target framework available if I create console or asp core application. Can someone help me understanding what I am missing here.
根据评论中的建议,我安装了15.7预览版2.仍然没有运气和同样的问题.
As suggested in comments, I installed 15.7 preview 2. Still no luck and same issue.
推荐答案
我也遇到了同样的问题.我通过在.NET Core 2.1的Runtime中安装正确的SDK来解决了这个问题.
I have faced the same problem. I solved this by installing the right SDKs with Runtime for .NET Core 2.1.
基本上要从VS Preview运行/创建2.1项目,您需要安装"2.1.300"(不是2.1.4).NET Core SDK和Runtime. www.microsoft/net/download/dotnet-core/sdk-2.1.300-preview1 (这已包括必需的运行时)
Basically to run/create 2.1 projects from VS Preview, you need to install the "2.1.300" (not 2.1.4) .NET Core SDKs and Runtime. www.microsoft/net/download/dotnet-core/sdk-2.1.300-preview1 (this includes required Runtime already)
对此误导性很好的解释是我在这里找到的版本 github/dotnet/cli/issues/8309 (dasMulli在2月24日发表评论).
The good explanation of this misleading with versions i found here github/dotnet/cli/issues/8309 (dasMulli commented on Feb 24).
更多推荐
VS2017:目标框架下拉列表不显示.NET Core 2.1选项
发布评论