加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

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

发布时间:2020-12-15 19:34:03 所属栏目:asp.Net 来源:网络整理
导读:我为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 impl
我为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 packagesRazorGenerator.Mvc.1.3.2.0toolsRazorGenerator.psm1:77 char:40+ $_.Object.RunCustomTool <<<< () + CategoryInfo : NotSpecified: (:) [],MethodInvocationException + FullyQualifiedErrorId : ComMethodTargetInvocation

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

我缺少什么?

解决方法

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

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读