Nat*_*den 7 .net visual-studio-code
错误 NU1100:无法解析“net5.0”的“dotnet-ef (>= 0.0.0)”。错误 NU1100:无法解析“net5.0/any”的“dotnet-ef (>= 0.0.0)”。工具包无法恢复。工具“dotnet-ef”安装失败。此故障可能是由以下原因引起的:
有关更多原因(包括包命名强制),请访问https://aka.ms/failure-installing-tool 错误 NU1100:无法解析“net5.0”的“dotnet-aspnet-codegenerator (>= 0.0.0)”。错误 NU1100:无法解析“net5.0/any”的“dotnet-aspnet-codegenerator (>= 0.0.0)”。工具包无法恢复。工具“dotnet-aspnet-codegenerator”安装失败。此故障可能是由以下原因引起的:
Rod*_*ner 16
dotnet nuget list source返回一个空列表。我猜你只会在安装 dotnet 时遇到这个问题,而没有在你的机器上安装 Visual Studio,并预先填充官方 nuget 站点作为源。
跑步dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org为我解决了这个问题。
请参阅https://github.com/dotnet/EntityFramework.Docs/issues/2044#issuecomment-910202971
小智 0
将其安装在本地项目而不是全局项目中,它对我有用。一一执行以下命令:
| 归档时间: |
|
| 查看次数: |
7349 次 |
| 最近记录: |