且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Dotnet Core解决方案还原失败

更新时间:2023-02-16 22:20:38

确实模糊不清,但是我发现了可以解决问题的方法。我在整个C:驱动器中搜索了Nuget.Config,并在%appdata%\Nuget\Nuget.config中找到了一个。我删除了它,构建成功进行了。 Nuget.config已还原为解决该问题的一些默认值。我无法解释;只是很高兴它起作用。

Really obscured, but I found something that fixed my problem. I searched for Nuget.Config in the entire C: drive and found one in %appdata%\Nuget\Nuget.config. I removed it and the build went through successfully. The Nuget.config was restored to some default values that fixed the problem. I can't explain it; just glad it worked.