Skip to content
Newer
Older
100644 36 lines (26 sloc) 2.5 KB
82be813 @Haacked Getting this sucker rolling
authored
1 # ReallyEmptyMvcProjectTemplate
2 This is a much emptier project template for ASP.NET MVC 3. The concepts here are adapted from my blog post,
3 [Creating a Custom ASP.NET MVC 3 Project Template](http://haacked.com/archive/2011/06/05/creating-a-custom-asp-net-mvc-project-template.aspx).
4
5 # Installation
6 * __MAKE SURE ALL INSTANCES OF VISUAL STUDIO ARE CLOSED!__
7 * Run the `install.cmd` batch file to install the project template. This will run the `Install-ProjectTemplate.ps1` powershell script.
8
9 The batch file:
10 * Creates the project package (a zip file).
11 * Copies the file to the correct Visual Studio project templates directory.
12 * Adds a registry entry for the project template that ASP.NET MVC 3 picks up. The script handles x86 and x64 cases.
13 * Registers it with Visual Studio using `devenv /installvstemplates`. This can take a while.
14
15 # DISCLAIMER
16 I've tested this on my machine, but not yours. I make no guarantees that it'll work fine. See the license at the end.
17 This code is being made available to you under the [MIT license](http://www.opensource.org/licenses/mit-license.php)
18
19 # Credits
20 * [7-Zip](http://www.7-zip.org/) used to archive the template into a zip file.
21
22 # TODO
23 Hey, if you'd like to help make this better, consider one of the following. :)
24
25 * Make script auto-detect whether VS is running or not and do the right thing.
26 * Single install script that detects environment and makes the correct registry settings (perhaps in PowerShell)
27 * Write an installer for this.
28
29 # License
30 Copyright (c) 2012 Phil Haack
31
32 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
33
34 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
35
36 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.