Working with a Mvc 4 project
Visual Studio 2012
I first attempted to install RazorGenator MsBuild from the nuget package manager and received the following error:
'RazorGenerator.MsBuild' could not be installed because it is not compatible with any project in the solution. The package doesn't target any framework.
I then attempted to install it from the Package Manager Console which installed fine.
I opened my project config file, added the import line and set the <PrecompileRazorFiles>true</PrecompileRazorFiles> statement.
However from there I'm noticing that the task is never called.
Any advice on what I might be missing?
Visual Studio 2012
I first attempted to install RazorGenator MsBuild from the nuget package manager and received the following error:
'RazorGenerator.MsBuild' could not be installed because it is not compatible with any project in the solution. The package doesn't target any framework.
I then attempted to install it from the Package Manager Console which installed fine.
I opened my project config file, added the import line and set the <PrecompileRazorFiles>true</PrecompileRazorFiles> statement.
However from there I'm noticing that the task is never called.
Any advice on what I might be missing?