Skip to main content

Posts

Showing posts from April, 2017

npm nuget or other repository problems

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.