缺少具有最新.NET Core SDK 2.2.1,.NET Framework 4.7.2,VS2017 15.9.3的.NET Standard 2.0 Framework [英] Missing .NET Standard 2.0 Framework with latest .NET Core SDK 2.2.1, .NET Framework 4.7.2, VS2017 15.9.3
问题描述
编辑修正-重新安装VS无效,重新安装Windows,然后VS达到了效果……我们几乎生活在2019年,为了使vs正常工作,需要这个狗屎吗?
EDIT FIX - Reinstalling VS did not work, reinstalling windows then VS did the trick... we live in 2019 almost and this shit is required to get vs to work properly?
我创建了一个.NET标准类库,它似乎指向1.6,当我将其更改为2.0时,我没有在列表中看到它(请参见附件)图像)
I created a .NET Standard Class library which it seems to point to 1.6, when i go to change it to 2.0, I dont see it in the list (see attached image)
还附带了我的机器和版本的最新信息,我已经安装了.NET Core 2.2.1 x64 / x86 SDK,并且我安装了.NET Full框架4.7.2
Also attached is latest info from my machine and versions, I have installed both the .NET Core 2.2.1 x64/x86 SDKs and I have the .NET Full Framework 4.7.2
编辑1:vs的安装方式
EDIT 1: how vs was installed
推荐答案
我只是遇到了这个问题。重新安装SDK和VS并没有帮助。问题最终是系统路径变量中路径的顺序不正确。我将 C:\Program Files\dotnet\
移到 C:\Program Files(x86)\dotnet\之前
VS能够拾取正确的sdks。
I just ran into this issue. Reinstalling the sdk and VS didn't help. The issue ended up being an incorrect order of paths in the System Path variable. As soon as I moved C:\Program Files\dotnet\
before C:\Program Files (x86)\dotnet\
VS was able to pickup the correct sdks.
这篇关于缺少具有最新.NET Core SDK 2.2.1,.NET Framework 4.7.2,VS2017 15.9.3的.NET Standard 2.0 Framework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!