.net - Using github on my project that uses NuGet -


i'm creating open-source .net web development framework called "expressforms". uploaded project github: https://github.com/daniellangdon/expressforms.

i used nuget set code run latest versions of asp.net mvc , entity framework; these saved in "packages" directory below solution. can see default, git ignores directory when uploading project github.

when download project github directory, directory missing , solution won't build.

what need make developer can download code github , build right away without fuss?

i still new git, it's i'm missing basic.

sounds need enable nuget package restore in newly downloaded solution.

when using nuget github, github ignores files under packages directory because it's not idea commit binary files (like dll libraries) git, because causes git repos become bloated in size on time because have keep each version of binary in repo history forever (unless go , erase them git filter-branch).

as workaround, nuget designed "package restore", specifies dependencies solution may have in text xml file, , efficiently versioned git. file should committed git.

when enable package restore , build solution, nuget check config file , automatically download dependencies specified in it.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -