Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2013: Creating a new ASP.Net project WITHOUT nuget
    primarykey
    data
    text
    <p>First, I want to say that I love nuget in general and use it a LOT for many small projects, and especially when trying out new things.</p> <p>However, I have a number of reasons why I feel Nuget is not appropriate for my primary project / environment:</p> <ul> <li>The code gets deployed to a secure environment - because of this a high level of oversight is required</li> <li>It is a fairly large project with ~10 developers spanning several years - the time saved by quickly adding packages is negligible.</li> <li>I have no interest in libraries automatically updating</li> <li>I want to know what configurations are being made when adopting a new library, and what other options I have besides whatever "reasonable default" has been determined on my behalf.</li> </ul> <p>Simply put, I want to know what's going into my project and Nuget is far too aggressive in "helping me out" than I can stomach.</p> <p>So I was really disappointed when I created a new "empty" asp.net project with support for MVC and WebAPI and found myself with 8 nuget packages configured. Much of these files are wasteful (I really do not need JSON.Net for every version of the .Net framework ever, but thanks).</p> <p>To get a similar setup without nuget I did the following:</p> <ol> <li>Stashed a copy of the web.config</li> <li>Copied all of the DLLs i was interested into a new folder</li> <li>Uninstalled all nuget packages</li> <li>Referenced the DLLs I wanted </li> <li>Re-added the neccessary web.config bits</li> </ol> <p>Ahh, there we go. Much better.</p> <p>I then went ahead and right clicked the Controllers folder > Add Controller and Right click the views folder and > Add View.</p> <p>Inexplicably, the nuget packages file was back and had "helped me" by adding </p> <ul> <li>jquery</li> <li>jquery validation</li> <li>jquery unobtrusive validation.</li> </ul> <p>Who said I wanted to use jquery validation?! </p> <p>So my question is: How do I stop the madness? Am I doomed to tiptoeing around VS tooling if I don't want to use nuget?</p> <p>Alternatively, I would also accept a <strong><em>convincing</em></strong> argument explaining that I am being unnecessarily anal-retentive about what goes into my project and should just drink the Kool-Aid.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload