NuGet package includes System.Web.Razor.dll

Jul 11, 2012 at 9:42 AM

Hi there,

It looks like the NuGet package is including an old version of the System.Web.Razor.dll

This means when I compile I get the error: 'Found conflicts between different versions of the same dependent assembly.'

Shouldn't the NuGet package be dependent on the Microsoft.AspNet.Razor package instead of including the DLL directly? Or have I missed something?

Many thanks,

    Geoff

Coordinator
Aug 8, 2012 at 4:39 PM

That particular package is currently the RC of Razor 2 (included with MVC4 + WebPages). There are a number of incompatible changes in the newer Razor parser (namely around creating custom Model spans) which I need to look at before I can change how I am binding to System.Web.Razor.dll.