Razor Compiler Warning/Errors - ASP.NET MVC 4
问题 I have an issue which seems to have been reported here: Need razor view engine auto-complete to work in a class library? My issue is the following Warning: G:\Accountable\Accountable\Views\LedgerUser\EditorTemplates\LedgerServiceViewModel.cshtml: ASP.NET runtime error: There is no build provider registered for the extension '.cshtml'. You can register one in the section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web'