前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >mac VS提示 SDK package not found "Microsoft.NET.SDK 解决方法

mac VS提示 SDK package not found "Microsoft.NET.SDK 解决方法

作者头像
阿炬
发布2022-05-09 13:31:22
8340
发布2022-05-09 13:31:22
举报
文章被收录于专栏:阿炬.NET阿炬.NET

依据:https://developercommunity.visualstudio.com/t/monodevelopcoreuserexception-unable-to-find-sdk-mi/1459162#T-N1460014

This is a problem with the .NET 6 preview 5 - https://github.com/dotnet/core/blob/main/release-notes/6.0/known-issues.md#preview-5 The workload manifest files were renamed in .NET 6 preview 5 which results in duplicate ids and causes the workload resolver to fail. This then results in Visual Studio for Mac showing an error about the WorkloadAutoImportPropsLocator sdk not being found. A workaround is to remove the sdk-manifests directory /usr/local/share/dotnet/sdk-manifests/6.0.100 and then install the .NET 6 preview sdk again so it adds back the manifest files it needs.

变通的方法

删除/usr/local/share/dotnet/sdk-manifests/目录下所有文件,重新安装dotnet 6 SDK,解决问题

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2022-01-10,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档