Note that there are some explanatory texts on larger screens.

plurals
  1. POConfigure the spark view engine!
    primarykey
    data
    text
    <p>I'm looking at launching a new site using the Spark View Engine, I am however having difficulty finding some referance to the set-up of Spark Using VS2010 and MVC2. Can anyone provide a referance to a guide that describes this process? </p> <p>I've looked at some of the code in the sample but the projects dont convert to VS2010. Before I tear these apart I wonder if there is somthing already out there? I also need to configure Re-Sharper and VS to work with Spark</p> <p>I have seen - <a href="http://sparkviewengine.com/documentation/configuring#AddingtoAspNetMVC" rel="nofollow noreferrer">http://sparkviewengine.com/documentation/configuring#AddingtoAspNetMVC</a> But this it's a pretty basic overview I'm looking for a real world example.</p> <p>===== Edit</p> <p>The source provided on DotNetSlackers doesnt run! Errors with the mismatch of .Net version</p> <blockquote> <p>"Dynamic view compilation failed. (0,0): error CS1703: An assembly with the same identity 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references."</p> </blockquote> <p>If I add the latest DLL's to the DotNetSlackers example I get the following</p> <p>"Attempted to access an element as a type incompatible with the array."</p> <pre><code>protected void Application_Start() { SparkViewFactory svf = new SparkViewFactory(); PrecompileViews(svf); **ViewEngines.Engines.Add(svf);** RegisterRoutes(RouteTable.Routes); } </code></pre> <p>On the stared line above.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload