title: ASP.NET MVC 2.0 Prev 1 and SPARK?
body: <p>I am trying to upgrade the ASP.NET MVC 1.0 application to 2.0 preview 1. I am using the spark as view engine. </p>
  
  <p>issue:
  Spark used the System.Web.MVC 1.0.0.0 so I got the source code and recompiled using the 2.0.0.0 and used the new assembly. Now I am getting the different error as follows:</p>
  
  <pre><code>Could not load file or assembly 'Microsoft.Web.Mvc' or one of its dependencies. The system cannot find the file specified. 
  </code></pre>
  
  <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p>
  
  <p>Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Mvc' or one of its dependencies. The system cannot find the file specified.</p>
  
  <p>Source Error: </p>
  
  <p>Line 163:                return new ViewEngineResult(searchedLocations);
  Line 164:
  Line 165:            entry = Engine.CreateEntry(descriptor);
  Line 166:            SetCacheValue(descriptorParams, entry);
  Line 167:            return BuildResult(entry);</p>
  
  <p>Source File: C:\Data\Projects\Samples\spark 1.0 Src\src\Spark.Web.Mvc\SparkViewFactory.cs    Line: 165 </p>
  
  <p>Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Mvc' could not be loaded.</p>
  
  <p>WRN: Assembly binding logging is turned OFF.
  To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
  Note: There is some performance penalty associated with assembly bind failure logging.
  To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].</p>