开发者

Custom tool error: Could not load generator "MvcView"

I'm using the Razor Single File Generator VS extension to pre-compile my views into my class library. At least I'm trying to. I've fol开发者_StackOverflow社区lowed the instructions and when I run the custom tool, I get this error:

Custom tool error: Could not load generator "MvcView".

I've downloaded the source code for the extension and the sample projects within exhibit the same behavior. I've uninstalled and re-installed the extension, no luck. I restarted VS (all instances) after install/uninstall, too.

The View

@* Generator: MvcView *@

@model MyModel

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/DefaultLayout.cshtml";
}

<h2>Details</h2>


This issue has been fixed with the latest version (0.6).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜