开发者

Custom tool error: Could not load generator "MvcView"

开发者 https://www.devze.com 2023-03-12 14:14 出处:网络
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 t

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

精彩评论

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