Library NuGet configuration is invalid

本秂侑毒 提交于 2019-12-06 17:02:27

问题


VS2015 Update 3.

I created a plain .net core class library. Right-click on Project->References-> Manage Nuget packages throws the following error?

What is missing?


回答1:


Try the following:

  1. Restart VS and see if this fixes your problem
  2. If restarting didn't help, try to delete nuget.config, explained below.




Previous solution from year 2012 (Obsolete?):

At the time I wrote this, the below approach worked for me:

Just delete the nuget.config which resides here:

%AppData%/Nuget/Nuget.config

or the nuget.config in your solution folder, if there is any.

A new one will be created automatically, when you click on

Manage Nuget Packages

again.

Or try to delete the nuget.config in your solution folder.



来源:https://stackoverflow.com/questions/38340797/library-nuget-configuration-is-invalid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!