Closed TobiasHei closed 11 years ago
Are you using a binding redirect?
this is from my web.config (auto generated from MVC 4): gt assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"lt gt dependentAssemblylt gt assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /lt gt bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" /lt gt /dependentAssemblylt gt dependentAssemblylt gt assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /lt gt bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="4.0.0.0" /lt gt /dependentAssemblylt gt dependentAssemblylt gt assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /lt gt bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" /lt gt /dependentAssemblylt gt /assemblyBindinglt
Thanks for your Answer ! It works for me with MVC 3 but not on MVC 4.
New version available: https://github.com/Antaris/RazorEngine/issues/71
I tried to use RazorEngine with System.Web.Razor 4.0.0 (from MVC 4) and it doesnt work, it need 2.0.0
Any plans on upgrading to 4 ?