Possible to Use Razor v2 in MVC3?http://forums.asp.net/t/1796054.aspx/1?Possible+to+Use+Razor+v2+in+MVC3+Sat, 28 Apr 2012 07:55:53 -040017960544947100http://forums.asp.net/p/1796054/4947100.aspx/1?Possible+to+Use+Razor+v2+in+MVC3+Possible to Use Razor v2 in MVC3? <p>Is it possible to use the Razor v2 View Engine in an MVC3 application? I see there are NuGet packages, but when I install them in my application I still cannot use the new Url Resolution (using href=&quot;~/Path/file.css&quot;, instead of href=&quot;@Url.Content(&quot;~/Path/file.css&quot;)&quot;) or Automatic Attributes within my views.<br> <br> Do I need to override something in my web.config? Or am I misunderstanding all of this and it is only available in MVC4? If that is the case, what is the purpose of the Razor NuGet Packages?&nbsp;</p> 2012-04-23T18:53:04-04:004947133http://forums.asp.net/p/1796054/4947133.aspx/1?Re+Possible+to+Use+Razor+v2+in+MVC3+Re: Possible to Use Razor v2 in MVC3? <p>Razor 2 is largely what makes MVC 4. It's not available in MVC 3. What packages are you talking about?</p> 2012-04-23T19:18:35-04:004947146http://forums.asp.net/p/1796054/4947146.aspx/1?Re+Possible+to+Use+Razor+v2+in+MVC3+Re: Possible to Use Razor v2 in MVC3? <p><a href="http://nuget.org/packages/RazorEngine">http://nuget.org/packages/RazorEngine</a></p> <p><a href="http://nuget.org/packages/RazorEngine"></a>Are these two seperate things? Looked at the examples and the syntax looked pretty much the same. Perhaps this one is meant more for populating templates at run time for things like email?</p> 2012-04-23T19:25:02-04:004947175http://forums.asp.net/p/1796054/4947175.aspx/1?Re+Possible+to+Use+Razor+v2+in+MVC3+Re: Possible to Use Razor v2 in MVC3? <p>Yep - that's a separate thing. It is intended to allow you to build templates using the Razor syntax, but external to MVC or ASP.NET Web Pages.</p> 2012-04-23T19:57:44-04:004947190http://forums.asp.net/p/1796054/4947190.aspx/1?Re+Possible+to+Use+Razor+v2+in+MVC3+Re: Possible to Use Razor v2 in MVC3? <p>That clarifies things. Thank you for your help.</p> 2012-04-23T20:06:44-04:004955929http://forums.asp.net/p/1796054/4955929.aspx/1?Re+Possible+to+Use+Razor+v2+in+MVC3+Re: Possible to Use Razor v2 in MVC3? <p>See, <a href="http://weblogs.asp.net/imranbaloch/archive/2012/04/28/using-razor-v2-in-asp-net-mvc-3.aspx"> Using Razor V2 in ASP.NET MVC 3</a></p> 2012-04-28T07:55:53-04:00