How to fixed this error in vs pm

Posted by Jayakumars under ADO.NET on 4/9/2017 | Points: 10 | Views : 271 | Status : [Member] [MVP] | Replies : 1
hi

Hi

In my pc NuGet Package Manager not opening so that

I download and install this

NuGet Package Manager for Visual Studio 2015

after i opened my visual studio i meet this issue. how to fixed this
then when i click restore nuget packages also not working any one guide me

---------------------------
Microsoft Visual Studio
---------------------------
NuGet operation failed

NuGet.Config is not valid XML. Path: 'C:\Users\ADMIN\AppData\Roaming\NuGet\NuGet.Config'.

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
---------------------------
OK
---------------------------

Mark as Answer if its helpful to you


Responses

Posted by: Rajnilari2015 on: 4/10/2017 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
Delete the NuGet.Config from C:\Users\ADMIN\AppData\Roaming\NuGet\ and then reopen VS2015. A new config file will be created. this should resolve your issue.

--
Thanks & Regards,
RNA Team

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response