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

Commented Issue: Problems with. 4.5 and net MVC4 [103]

$
0
0
I followed exactly the steps described in this post.
http://stacktoheap.com/blog/2013/01/19/precompiling-razor-views-in-asp-dot-net-mvc-3/

But the error is displayed below

> ASP.NET runtime error: There is no build provider registered for the extension '.cshtml'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.


__What am I doing wrong?__
Comments: Can you try my [test project](https://github.com/davidebbo/MvcApplicationRazorGeneratorSeparateLibrary)? Knowing whether that works would help determine whether the issue is with your project or something with the way the machine/VS is set up.

Viewing all articles
Browse latest Browse all 525

Trending Articles



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