Hi,
We found there are few issues with 2.0.1 Razor Generator MSBuild task.
__Issue One:__
The App_Code/{helper}.cshtml can not compile into the correct place even by using _RazorViewsCodeGenDirectory_. So the MSBuild task always complains failed to locate source files.
__Issue Two:__
Event, we manually copy the generated file (helloWorldHelper.cshtml.cs) into the correct place, the MSBuild task does not compile it into the assembly.
Looking for answers.
Kind regards.
Jing
Comments: I've installed RazorGenerator.Mvc and RazorGenerator.MsBuild to my ASP.NET MVC4 Project. Checked that the csproj references the .targets file and <PrecompileRazorFiles> is set to true. But the precompilation is not working...
We found there are few issues with 2.0.1 Razor Generator MSBuild task.
__Issue One:__
The App_Code/{helper}.cshtml can not compile into the correct place even by using _RazorViewsCodeGenDirectory_. So the MSBuild task always complains failed to locate source files.
__Issue Two:__
Event, we manually copy the generated file (helloWorldHelper.cshtml.cs) into the correct place, the MSBuild task does not compile it into the assembly.
Looking for answers.
Kind regards.
Jing
Comments: I've installed RazorGenerator.Mvc and RazorGenerator.MsBuild to my ASP.NET MVC4 Project. Checked that the csproj references the .targets file and <PrecompileRazorFiles> is set to true. But the precompilation is not working...