Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Issue: RazorGenerator MsBuild tasks never called [98]

$
0
0
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?
Comments: Figures as soon as I post something I figure out a work around. I enabled nuget package dependencies and copied the RazorGenerator files to the .nuget folder. Added <Import Project="RazorGenerator.targets" /> to the NuGet.targets file and removed it from my project. Now it's building as I expected. Is there a reason it has to be called this way -vs- from my project directly?

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>