Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error message "there are no writable config files" when try to open "Manage nuget packages"

Visual Studio 2015 Preview shows error message "there are no writable config files" when try to open "Manage nuget packages" on "References"

enter image description here

enter image description here

C# solution can be found: https://github.com/constructor-igor/TechSugar/trunk/Powershell/Sample_Read_Process_Write/CustomerObjects

like image 368
constructor Avatar asked Nov 20 '14 01:11

constructor


People also ask

How do I enable manage NuGet packages in Visual Studio?

To find and install a NuGet package with Visual Studio, follow these steps: Load a project in Solution Explorer, and then select Project > Manage NuGet Packages. The NuGet Package Manager window opens. Select the Browse tab to display packages by popularity from the currently selected source (see Package sources).

Where is my NuGet config file?

For NuGet 2.6 to 3. x, the computer-level config file on Windows was located in %ProgramData%\NuGet\Config[\{IDE}[\{Version}[\{SKU}]]]\NuGet.

How do I open NuGet Package Manager console?

Open your project or solution in Visual Studio, and select Tools > NuGet Package Manager > Package Manager Console to open the Package Manager Console window.

Is NuGet config necessary?

If you're trying to create a NuGet package from your own code, you do not need a NuGet. config file. The NuGet. config file exists to specify package sources from which packages are installed and updated - i.e. where you consume packages from.


1 Answers

Had same issue, it is not related to the solution/project, simply delete NuGet configuration file and it should work again.

C:\Users\USERNAME\AppData\Roaming\NuGet\NuGet.Config
like image 148
Alex Avatar answered Oct 06 '22 00:10

Alex