NuGet Package restore failed for project <ProjectName>: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

Topics: Ecosystem, General
Feb 5, 2014 at 6:01 PM
Edited Feb 5, 2014 at 6:03 PM
Been stuck with this for over a day now and can not seem to find any solution for this.
First issue was Nuget packages were not showing on the package explorer. thinking its a firewall issue asked infrastructure to open the port. which will take a bit of time :(
Then went into Nuget.Config in C:\Users\mtopaz\AppData\Roaming\NuGet\ folder and added
    <add key="http_proxy" value="" />
    <add key="http_proxy.user" value="domain\mtopaz" />
    <add key="http_proxy.password" value="asdasdfawefzsdfas=" />
section inside the <configuration> tag
I encypted the password using

then I keep getting this error on all of my solutions when building.
I tried removing the section, error still happens.
uninstalled and reinstalled nuget. the config keeps coming back.
Same error shows when i right click on the solution and try to enable "Nuget Package Restore"

Please help