Troy Goode
unread,Jul 27, 2010, 8:32:45 PM7/27/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spark View Engine Dev
Looks like Spark doesn't quite work out of the box with the MVC 3
Preview 1 that was released today. I'm getting the following error:
Dynamic view compilation failed.
(0,0): error CS1701: Warning as Error: Assuming assembly reference
'System.Web.Mvc, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' matches 'System.Web.Mvc,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35',
you may need to supply runtime policy
I already have the runtime binding from MVC 2.0 to MVC 3.0 in place in
the web.config though:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /
>
</dependentAssembly>
</assemblyBinding>
</runtime>
Any ideas?