惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
S
SegmentFault 最新的问题
量子位
有赞技术团队
有赞技术团队
V
V2EX
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Jina AI
Jina AI
C
Check Point Blog
G
Google Developers Blog
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
T
Tailwind CSS Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
U
Unit 42

博客园 - 阿炬

Claude Code 老是提示找不到文件的解决方案 目标设定与积极反馈:如何通过小目标激励自己 阿布思考法 amis中月份选择组件,如何设定值为月末最后一天 win11环境下执行yarn build,提示:'mv' 不是内部或外部命令,也不是可运行的程序 如何在关闭远程桌面后继续自动化程序 解决Mac下ERROR: Cannot connect to the Docker daemon at unix:///Users/qq/.orbstack/run/docker.sock. Is the docker daemon running? Visual Studo for Mac 快捷键 取消api返回结果中data对象默认Json首字母小写 Pega里Flow图元 NPOI导入sheet,并复制多行数据 用PC windows作为Mac macos的扩展屏 能改变你一生的顶级逻辑层次 《从偶然到必然》思维导图第1、2章 macbook m1 无法启动mysql服务,提示Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ MacOS Monterey 一键重置系统 macbook m1 键盘进灰导致个别按键不灵敏解决方法 DataGrip连接sqlserver,提示驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接的解决方法 .net6环境下RestSharp获取gbk网页乱码的解决方案 macbook air m1笔记本使用体验和心得(01)
mac VS提示 SDK package not found "Microsoft.NET.SDK ...
阿炬 · 2022-01-10 · via 博客园 - 阿炬

依据: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,解决问题