Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

I'm facing this issue from time to time where I can't install new packages to my project, Nuget keeps showing this error, from the command shell and GUI.

I installed/reinstalled NuGet to no avail.

Can anyone point out possible reasons/solutions for this?

enter image description here

share|improve this question
    
File permission denied for reading config files ? Try with VS as administrator ? – C4stor Jun 10 '13 at 10:16
    
I'm running VS as administrator. I tried removing certain entries from packages.config and it seems to work, need to know now why are these entries crashing nuget – Tamim Salem Jun 10 '13 at 11:35
    
What entries did you remove? Would you provide their XML? – Mzn Jun 10 '13 at 12:35
    
They were entries specific to my project, nothing general. – Tamim Salem Jun 10 '13 at 12:39

1 Answer 1

up vote 3 down vote accepted

Ok Fixed.

It seems the issue was with packages installed on my machine.

I started commenting the packages.config entries one by one and see if the issue was resolved, once I identified few packages as problematic, I removed their entries from the packages.config file and removed the directories associated with them from the "packages" folder (some of the folders had missing .nuspec files, I assume that caused issues).

after that I reinstalled the packages that I removed and everything works perfectly now.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.