asp.net-mvc – Visual Studio找不到自定义工具RazorGenerator

前端之家收集整理的这篇文章主要介绍了asp.net-mvc – Visual Studio找不到自定义工具RazorGenerator前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我为RazorGenerator.mvc安装了 NuGet package,然后运行shell命令Enable-RazorGenerator并获取以下消息:

Exception calling “RunCustomTool” with “0” argument(s): “The custom tool ‘RazorGenerator’ Failed. The method or operation is not implemented.”At \packages\RazorGenerator.Mvc.1.3.2.0\tools\RazorGenerator.psm1:77 char:40+ $_.Object.RunCustomTool <<<< () + CategoryInfo : NotSpecified: (:) [],MethodInvocationException + FullyQualifiedErrorId : ComMethodTargetInvocation

我也试过右键单击并选择“运行自定义工具”,它提供了一个对话框,说明在系统上找不到自定义工具RazorGenerator。

我缺少什么?

解决方法

我也有同样的问题,我意识到,随着解决方案的包,你还需要安装Visual Studio扩展名为RazorGenerator

>转到工具,然后转到扩展管理器>搜索Razor Generator>单击下载按钮。>安装完成后,重新启动Visual Studio

原文链接:https://www.f2er.com/aspnet/254828.html

猜你在找的asp.Net相关文章