Visual Studio cannot find custom tool RazorGenerator

asp.net MvcVisual Studio-2010NugetRazorgenerator

asp.net Mvc Problem Overview


I've installed the NuGet package for RazorGenerator.mvc and then run the shell command Enable-RazorGenerator and get the following message:

> 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

I also tried right-clicking and selecting "Run Custom Tool" and it provides a dialog stating it cannot find the custom tool RazorGenerator on the system.

What am I missing?

asp.net Mvc Solutions


Solution 1 - asp.net Mvc

I had that same problem too and I realized that along with the package for the solution you will also need to install the Visual Studio Extension called RazorGenerator

  • Go to Tools, then Extension Manager
  • Search for Razor Generator
  • Click the Download button.
  • Once the install has completed, restart Visual Studio.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSliverNinja - MSFTView Question on Stackoverflow
Solution 1 - asp.net MvcGabeView Answer on Stackoverflow