Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While I like using NuGet packages with C#, I'm not really wild about how they can get magically linked in to a project, and then required. I had nunit and fluent assertions become inextricable from a project I was working on even after all the tests were removed. Just a total mind-f*ck. Python when using pip is a whole lot better but I've had some issues finding things there too. Ruby... it depends. Are we talking Rails gemfile or "gem install $package"? Conflicting versions can become an issue. Java with Gradle has been pretty cool so far. NPM as a whole, has just worked. Packages are referenced in ONE place (package.json) I can do an "npm install $package --save" during development and it gets included automatically.


There's nothing magic going on. A C# project's settings are located in the .csproj file (other .net languages work similarly). This file is normally editied from within Visual Studio, but it's just xml and can be edited by hand fairly easily.

A project file has references [1], which define the project's external dependences, Removing references is easy. [2][3]

[1] http://msdn.microsoft.com/en-us/library/ez524kew(v=vs.110).a...

[2] http://msdn.microsoft.com/en-us/library/hh708954.aspx

[3] http://msdn.microsoft.com/en-us/library/7314433t(v=vs.90).as...


Didn't understand the NuGet sentence. It's just binaries and XML descriptions. Worst case - just delete package.config and all the package folders. A one minute fix I used when not using source control to revert.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: