title: Umbraco for beginners: Setup Umbraco on localhost together with VS 2012 and uSiteBuilder
body: <p><strong>Introduction</strong></p>
  
  <p>Spent last two days trying to get Umbraco to work with visual studio 2012,iis and some kind of pagebuilder. After following lots of guides including Umbraco 5 to later find out that Umbraco 5 is dead i got it to work.</p>
  
  <p>I am only doing this to help new Umbraco users like myself to get a good start in their developement. </p>
  
  <p><strong>Setup Umbraco With VS 2012</strong></p>
  
  <ol>
  <li>Create a new WebForm Project from the installed VS 2012 Templates.</li>
  <li>Remove everything from the solution except Properties and References.</li>
  <li>From Package Manager Console run "PM > Install-Package UmbracoCms"</li>
  <li>Rightclick on the Project and select Properties. Under the WebTab make sure the project uses Local IIS Web Server and "Create Virtual Directory".</li>
  <li>Save Project and run with F5. VS 2012 Asks if you wold like to modify Web.config file for debugging, click OK.</li>
  <li>Now follow the Umbraco installationssteps from your webbrowser.</li>
  <li>On Database Configuration, choose 'SQL CE 4 database'. </li>
  <li>On starterkits choose empty template.</li>
  <li>First step completed. Now we just need to add uSiteBuilder to our project.</li>
  </ol>
  
  <p><strong>Setup uSiteBuilder to be able to easily build DocumentTypes and Templates etcetera from Code</strong></p>
  
  <ol start="10">
  <li>Download uSiteBuilder.dll from <a href="http://usitebuilder.codeplex.com/releases/view/71768" rel="noreferrer">http://usitebuilder.codeplex.com/releases/view/71768</a></li>
  <li>Add a reference to this dll in References inside your VS 2012 Project</li>
  <li>Copy uSiteBuilder.dll to the binfolder inside your project.</li>
  <li>Push F5, you will notice that the dll will add a reference to our dll in the web.config</li>
  <li>Follow uSiteBuilder guides below to build DocumentTypes(ordinary .cs classes) and Templates(master and nested masterpages)</li>
  </ol>
  
  <p><em>DocumentTypes</em> - <a href="http://usitebuilder.vegaitsourcing.rs/tutorials?id=22389" rel="noreferrer">http://usitebuilder.vegaitsourcing.rs/tutorials?id=22389</a></p>
  
  <p><em>Templates</em>  - <a href="http://usitebuilder.vegaitsourcing.rs/tutorials?id=22391" rel="noreferrer">http://usitebuilder.vegaitsourcing.rs/tutorials?id=22391</a></p>
  
  <p><strong>Finished</strong></p>
  
  <p>When we have done all these steps we are ready to build Umbracosites from code with the help of uSiteBuilder.</p>
  
  <ul>
  <li>Since we only downloaded the uSiteBuilder.dll and not the whole package with included vs2012 templates we have to add the classes(DocumentTypes) and Masterpages(Templates) ourselves. </li>
  </ul>