Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File contains corrupted data - Package Manager Console

I am trying to follow this article. There is a step which says you need to install XSockets.Sample.WebRTC via package manager console(PMC), this is where I got stuck.
I have been getting an error which says File contains corrupted data, shown as below -

enter image description here

I went through this post but none of the solutions worked for me. I could not find any solution to my problem. What am I doing wrong? How do I make it work?

Another question is, in the article that I am following, there is this picture which shows - enter image description here

but I got nothing like LocalNuget in my package source. I got only two options - check the above image.

Why is this difference? Is there anything wrong with my visual studio installation?

like image 290
Aritra B Avatar asked Mar 06 '14 13:03

Aritra B


2 Answers

The problem was with Nuget Package Manager Console.If anyone comes across this problem, then try and update the Nuget Package Manager version, worked in my case.

To update Nuget Package Manager click on Tools -> Extensions and Updates -> Updates
 -> Visual Studio Gallery -> Nuget Package Manager.

like image 115
Aritra B Avatar answered Sep 21 '22 16:09

Aritra B


I updated Nuget Package Manager version to 2.8 (latest till date) but same issues.

Finally, referring to solutions at http://nuget.codeplex.com/discussions/272453 I got the problem resolved.

By clearing package cache and disabling antivirus temporarily installation of XSockets.Sample.WebRTC via package manager console(PMC) was successful for me.

like image 30
Vikram_ Avatar answered Sep 25 '22 16:09

Vikram_