after upgrade to .Net Core 2.1.1 I got this error:
C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error
occurred while retrieving package metadata for 'System.IO.4.3.0' from source
'C:\Program Files\dotnet\sdk\NuGetFallbackFolder'.
C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : '.',
hexadecimal value 0x00, is an invalid character. Line 1, position 1.
not able to solve it using
nuget.exe locals -clear global-packages
nuget.exe locals -clear packages-cache
nuget.exe locals -clear http-cache
or
nuget.exe locals -clear all
thanks for any help
Hexadecimal value 0x00 is a invalid character, line 1, position nnnnn. But its not consistent. Sometimes some 'blank' data will work. The 'faulty' data works on some PCs, but not others. In the database, the data is always a blank string.
Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings menu. Click Clear All NuGet Cache(s) button in options dialog then clearing process is started. Once NuGet cache location is cleared, click ok button.
In my case it was simple, I just did the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With