title: Could not load file or assembly System.EnterpriseServices
body: <p>I'm trying to read up on asp.net mvc, I have never used asp.net before but are familiar with regular c# development. <br></p>
  
  <p>Freshly installed, fully patched Windows XP Home.<br>
  Freshly installed updated to SP1 Visual Studio 2008 Pro.<br>
  <p>
  Started a new project, selected "ASP.NET MVC Web Application", target framework is 3.5</p>
  
  <p>I hit F5 and I get:<br>
    "Could not load file or assembly System.EnterpriseServices"</p>
  
  <p>Exact wording in swedish:</p>
  
  <pre><code>[FileNotFoundException: Det går inte att hitta filen. (Undantag från HRESULT: 0x80070002)]
  [FileNotFoundException: Det går inte att läsa in filen eller sammansättningen System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a eller ett av dess beroenden. Det går inte att hitta filen.]
  </code></pre>
  
  <p>Adding a reference to System.EnterpriseServices in my project did not work.<br>
  A quick google suggested I copy this file <em>Microsoft.NET/Framework/v2.0.50727/System.EnterpriseServices.dll</em> into %WINDOWS%/assembly but that did not work either.</p>
  
  <p>Any suggestions?</p>
  
  <p>Found the answer, I added it to the GAC with gacutil.</p>
  
  <p>C:\WINDOWS>"C:\Program\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /i  Microsoft.NET/Framework/v2.0.50727/System.EnterpriseServices.dll</p>