获取“项目”nuget 配置无效错误 [重复] - Getting “project” nuget configuration is invalid error [duplicate]

问题:

This question already has answers here : 这个问题在这里已经有了答案
Closed 4 years ago . 4年前关闭。

I'm getting "[project] nuget configuration is invalid" error.我收到“[项目] nuget 配置无效”错误。 I received an error like this before and used the 'Update Nuget package manager' solution mentioned here:我之前收到过这样的错误,并使用了此处提到的“更新 Nuget 包管理器”解决方案:

Unable to Install Any Package in Visual Studio 2015 无法在 Visual Studio 2015 中安装任何包

I've also tried the other solutions mentioned in that link to no avail.我还尝试了该链接中提到的其他解决方案,但无济于事。

  • Restarting Visual Studio重新启动 Visual Studio
  • Deleting nuget.config删除 nuget.config
  • Deleting packages.config删除packages.config
  • Updating nuGet Package Manager.更新 nuGet 包管理器。

Also, I'm able to see the nuGet Packages at the solution level and other projects within this solution.此外,我还可以看到解决方案级别的 nuGet 包以及此解决方案中的其他项目。

And, if I go to Package Manager Console (Tools -> NuGet Package Manager -> Package Manager Console), I can't see the projects having this issue in the project drop down, but I see the other projects in the solution.而且,如果我转到包管理器控制台(工具 -> NuGet 包管理器 -> 包管理器控制台),我在项目下拉列表中看不到有此问题的项目,但我在解决方案中看到了其他项目。


解决方案:

参考一: https://en.stackoom.com/question/2ZAta
参考二: https://stackoom.com/question/2ZAta
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章