在MVC5中,通过使用Razor Generator(http://razorgenerator.codeplex.com)这样的工具,可以在项目之间共享视图(Razor)。 如何在vNext中实现相同?我的视图无法识别(包含视图的项目在project.json
中被列为依赖项)。如何在ASP.NET vNext MVC 6(beta1)项目之间共享视图?
InvalidOperationException: The partial view '~/Views/Authentication/_LogInForm.cshtml' was not found. The following locations were searched: ~/Views/Authentication/_LogInForm.cshtml
我应该提到它:在源项目中包含“RazorGenerator.Mvc”不再有效(参考在它前面加上“!”)。 – Vincent 2014-12-07 15:08:43