c# - How to handle packages such as EF, MVC4, WebPages and friends in my project repository -
i have asp.net application using ef, mvc4 , additional packages. whenever try open project on different pc have issues installed packages. references marked missing, , code far compilable. last time solved deleting references , packages , installing needed packages 1 one. find solution tedious. there better, global solution this? how supposed done? shouldn't automated?
thanks , pointers!
update
i use nuget packages, (otherwise hard these dlls) somehow end uninstalling , reinstalling packages make project work. end wrong versions , not compiling code.
i end doing following:
- delete
package.config
- delete dependencies
web.config
file nuget package manager console:
pm> uninstall-package a.b.c
pm> install-package a.b.c
- clean - rebuild project , hope best
i think uninstall - install can replaced update-package –reinstall a.b.c
i hoping there simpler solution this.
if using visual studio; can enable automatic package restore; article outlines nuget in detail.
if go tools -> options -> nugetpackage manager
can make sure auto download enabled. see screenshot below.
Comments
Post a Comment