我已经安装了Visual Studio 2019 16.4.0,该软件应该安装.Net Core SDK 3.1,并且我已经运行.Net Core SDK 3.1来安装SDK。两者都说已经安装了,但是没有用于3.1的SDK文件夹,并且在运行dotnet --list-sdks
时没有显示。
如果我运行dotnet --list-runtimes
,则显示3.1版。
还有其他人遇到此问题或有建议解决此问题吗?
**更新
日志文件显示:
[55A8:3A74][2019-12-04T14:05:34]e000: Error 0x80070002: Failed to find payload: AspNetCoreSharedFramework_x64 in working path: C:\Users\myuser\AppData\Local\Temp\{0FF4534C-300C-4A8B-A236-C4E016812801}\AspNetCoreSharedFramework_x64 and unverified path: C:\ProgramData\Package Cache\.unverified\AspNetCoreSharedFramework_x64
[55A8:3A74][2019-12-04T14:05:34]e000: Error 0x80070002: Failed to cache payload: AspNetCoreSharedFramework_x64