Razor Host Factory error

后端 未结 9 1681
心在旅途
心在旅途 2020-12-25 12:00

I get a MvcWebRazorHostFactory error trying to run my app, but it\'s not an MVC app at all. I have the following web packages installed via nuget:

Microsoft         


        
9条回答
  •  别那么骄傲
    2020-12-25 12:53

    This happened to me today. I just made sure the version number for the web.config in the views folder matches the version number for the web.config of the solution.

    Hope this helps.

提交回复
热议问题