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.

enter image description here


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -