I was experiencing an issue where my nuget packages would not restore the dlls. I would get Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) as the error but it would say all nuget packages are already installed.
I followed the sage advice of deleting everything in c:\users\\.nuget\packages as well as the packages folder in solution and force a restore.
http://stackoverflow.com/questions/34543267/nuget-does-not-unpack-assemblies-from-package
I believe this could be applied to all package repositories in case this type of problems are faced.
By the way, check out Artifactory if your environment is hostile to public yum, apt-get, npm, nuget or any other repositories.
Today marks my 14th year in the USA. In 4 short years, I will have lived in the US more than Turkey (18 years), where I was born. Here is a brief summary: F1 Student Visa (Summer 1998 - Bachelors), OPT - Optional Practical Training (Summer 2002), F1 Student Visa (2003 - Masters), OPT (Summer 2003), H1-B non-Immigrant Visa (Late 2003), H1-B renewal (2004 August - Job Change), PERM application for Green Card (2005), I-140 (Oct 21, 2005), H1-B Renewal (2006), H1-B Renewal (new job), PERM application for Green Card (2008 - new job), I-140 (2009 new job), H1-B renewal (2011), I-485 (2011 Aug - Adjustment of Status), I-765 (2011, Application of Employment Authorization), I-131 (2011, Application of Travel Document), I-765 renewal (2012 June), I-131 renewal (2012 June), Service Request for I-485 (2012 June), Service Request for Service Request for I-485 (2012-August, not kidding), Service Request for I-765 and I-131 renewals (2012 August) ... still an alien...
Comments