我正在尝试使用 Dotnet 构建一个 React 应用程序。我已经安装了 dotnet 但仍然出现此错误。我已经安装了 dotnet 5 和 dotnet core 3.5。我已经提供了有关错误的必要图像。
最佳答案
奇怪的是,对于我的项目,用户的计算机找不到可恢复的包,因为它没有(真正的)nuget 的映射。我们必须添加(或从 powershell 运行):
dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json
然后 nuget restore 工作并且错误消失了。
关于c# - 错误 NU1100 : Unable to resolve 'Microsoft. AspNetCore.SpaServices.Extensions,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68968363/