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

Edited Unassigned: Could not precompile the input file contents... [122]

$
0
0
I'm getting the following error on build...

Could not precompile the input file contents. Ensure that a generator declaration exists in the cshtml file.
A generator declaration is the first line of your cshtml file and looks like this:
@* Generator: MvcHelper *@
Valid host names: MvcHelper, MvcView, Template, WebPagesHelper, WebPage, RazorGenerator.Core.IHostProvider

I posted this issue under Discussions, but am opening up an issue so I can attach a sample project. The error occurs as soon as I drop a _ViewStart.cshtml file into the root of my project.


Viewing all articles
Browse latest Browse all 525

Trending Articles



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