title: Default Template Projects Crashing in Visual Studio 2013
body: <p>Am I doing something wrong or is Visual Studio 2013 default projects broken?</p>
  
  <p>Create a new basic MVC project:</p>
  
  <pre><code>File -&gt; New -&gt; Project
  and
  Templates / Visual C# / Web / ASP.Net Web Application
  and
  MVC with no Authentication
  </code></pre>
  
  <p>and immediately on running "template default empty project" I get</p>
  
  <pre><code>Could not load file or assembly 'WebGrease, Version=1.5.1.25624....
  
  Line 5:      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  Line 6:      &lt;title&gt;@ViewBag.Title - My ASP.NET Application&lt;/title&gt;
  Line 7:      @Styles.Render("~/Content/css")
  Line 8:      @Scripts.Render("~/bundles/modernizr")
  Line 9:  &lt;/head&gt;
  </code></pre>
  
  <p>and with</p>
  
  <pre><code>Templates / Visual C# / Web / Visual Studio 2012 / ASP.Net Web MVC 4 Application
  
  Razor, Internet Application with a Test Unit
  </code></pre>
  
  <p>I immediately on starting getting:</p>
  
  <pre><code>Could not load file or assembly 'DotNetOpenAuth.Core, Version=4.0.0.0...
  </code></pre>
  
  <p>Well... This is default projects, which makes me wonder why I need to immediately fix anything before even doing anything. It's fun, when you're experimenting needing to try to fix things before you even have begin coding.</p>
  
  <p>This is Visual Studio 2013 Pro with everything installed and these are the "Default New Projects".</p>
  
  <p>Removed the lines causing the exceptions, nothing works. Installed WebGrease, Web.Optimization and DotNetOpenAuth extensions, Bootstrap (since it looked like CSS problems). </p>
  
  <p>Looked like this had the solution but no luck:
  <a href="https://stackoverflow.com/questions/21180158/could-not-load-file-or-assembly-webgrease-or-one-of-its-dependencies">Could not load file or assembly &#39;WebGrease&#39; or one of its dependencies</a></p>
  
  <p>In short, if I need to fix every project before starting a new project - something must be wrong.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Reinstalling and updating everything in the Nuget console makes both error above disappear, but then this happens:</p>
  
  <pre><code>'System.Web.Mvc, Version=5.2.0.0" exception
  </code></pre>
  
  <p>and then fixing it with Package Manager Console</p>
  
  <pre><code>Install-Package Microsoft.AspNet.Mvc -Version 5.2.0.0
  </code></pre>
  
  <p>causes the WebGrease error to appear again and the Nuget console wants me the update the MVC again</p>
  
  <p>trying to fix the webgrease error with installing the expected version instead causes this in the Console:</p>
  
  <pre><code>"Install-Package : Updating 'WebGrease 1.6.0' to 'WebGrease 1.5.1' failed."
  </code></pre>
  
  <p>So for me, it does NOT work out of the box (with VS2013 Update 3 installed) and restarting a new project seems to make all updates disappear and all errors reappear again, having me to redo the whole process even though I've "seemingly" updated everything that I could update. And it's also very obviously not backwards compatible. WebGrease 1.6 will not work for 1.5.1.    </p>