I was having some
trouble working out how to install Umbraco in a clean, new
visual studio project. Here's how to do it.
I'm assuming that you are using Visual Studio 2010 (I know - old
school) and that you have nuget installed. Find out how to install
nuget if you don't already have it. It's great!
Update: MVC is a dependency that is
automatically "bin-deployed" so you don't have to worry about that
part (Thanks for the info Sebastiaan!)
- Open up VS2010.
- Choose File -> New Project... -> ASP.NET MVC 4
Web Application or ASP.NET Web
Application (thanks again Seb!)
- Enter a name for your application and a location.
- Click OK.
- Choose the Empty project template, and accept the default view
engine (i.e. Razor).
- Click OK.
- Open up nuget package manager by going to Tools -> Library
Package Manager -> Package Manager Console.
- Type the command at the prompt: install-package
- When nuget has done its thing, hit F5 to enjoy your brand
spanking new Umbraco website! (you may get a popup message about
your web.config and debugging, just accept it and continue).
UPDATE April 4th, 2013: If you are using VS2012
with this method, double-check the web.config in the Views folder.
See my post
on the forum for more information.