NullSettings Error on NuGet.config

Topics: General
Jan 22, 2013 at 2:48 PM

After installing NUGET.. I get the following error when I try to create a project: "DeleteSection" cannot be called on a NullSettings. This may be caused on account of insufficient permisions to read or write to "%AppData%\NuGet\NuGet.config".


Any idea why this may be happening?



Jan 22, 2013 at 5:03 PM

Did you check if you are able to write to the directory "%AppData%\NuGet"?

Jan 22, 2013 at 5:25 PM

Thanks for the reply. I fixed the problem by performing the following steps;

1. Uninstalling NuGet

2. Deleting the NuGet Folders from both %AppData%\Local & %AppData%\Roaming

3. Re-installing NuGet


Thanks for the help!