Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nuget The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding char

Good Day, My VS2017 can connect to the web i tried that and updated the package source to https://api.nuget.org/v3/index.json and I am still having the same problem and yes I did go to all the info in Stack overflow nothing helps. I even install VS2015 and I am having the same problem

Thanks in Advance

like image 845
Ed Charles Diesel Avatar asked Oct 25 '25 23:10

Ed Charles Diesel


1 Answers

Nuget The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding char

According to the error message, it seems that there is a syntax error in the nuget.config file.

So, to resolve this issue, please try to close all Visual Studio instance, delete the nuget.config file in the path C:\Users\<Username>\AppData\Roaming\NuGet\nuget.config. Then reopen the Visual Studio, Visual Studio/nuget will regenerate it.

Hope this helps.

like image 200
Leo Liu-MSFT Avatar answered Oct 28 '25 04:10

Leo Liu-MSFT