0

Whenever I create a new Empty MVC3 Web Application project in Visual Studio 2010 SP1, it automatically adds EntityFramework and some other packages by default. This is rather annoying when I don't use EntityFramework, nor do I use some of the other items that are "pre-installed" by VS.

Is there a way to customize the project template, without creating a whole new template, so that it doesn't add these by default?

Anthony Shaw
  • 8,146
  • 4
  • 44
  • 62
  • 1
    Phil Haack made [A Really Empty ASP.NET MVC 3 Template](http://haacked.com/archive/2012/01/11/a-really-empty-asp-net-mvc-3-project-template.aspx), which takes out a lot of other stuff; too. You can use that, or fork it to customize it a bit more. Either way it's a new template. – vcsjones Feb 13 '12 at 21:47
  • @vcsjones, awesome!! I think that's exactly what I was looking for. If you add it as an answer, I'll mark it as being correct since it satisfies myself not having to create a new template. Thanks! – Anthony Shaw Feb 14 '12 at 00:05
  • Darin posted the same thing; I'd just accept his. – vcsjones Feb 14 '12 at 14:00
  • I didn't even look at his link because it was titled 'create your own template' which wasn't what I was wanting to do, I didn't realize he posted a link to the same Phil Haack post – Anthony Shaw Feb 14 '12 at 14:15

1 Answers1

2

No, but you could create your own template and get rid of all the crap (such as EntityFramework) you don't need.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • right, I understand that. Which was why I specifically asked if there was a way to do it without creating a whole new template. If there was an easier way to do it without having to create my own, I would prefer that – Anthony Shaw Feb 14 '12 at 00:04
  • I apologize, I didn't even look at your link because of the way it was titled and I had no intention of creating my own template, I was looking for something out of the box like vcsjones posted in the comments, but then he pointed out what you also linked to the Phil Haack post, so I will accept yours based on vcsjones pointing that out to me – Anthony Shaw Feb 14 '12 at 14:17