Note that there are some explanatory texts on larger screens.

plurals
  1. POThe custom tool 'RazorGenerator' failed. The method or operation is not implemented
    primarykey
    data
    text
    <p>I have just upgraded the Visual Studio extension <a href="http://visualstudiogallery.msdn.microsoft.com/1f6ec6ff-e89b-4c47-8e79-d2d68df894ec">RazorGenerator</a> to V1.5 (Last updated 10/14/2012) and now have the following problems. </p> <p>Each cshtml file edited now removes the generated file, if I choose to 'Run Custom Tool' I get <code>The custom tool 'RazorGenerator' failed. The method or operation is not implemented.</code></p> <p>I had it working previously in my project without issue but the upgrade seems to have broken it. Does anyone know how this can be fixed..? I can't even seem to roll back to the previous version now since it's installed via the ExtensionManager.</p> <p>The latest version of <a href="http://nuget.org/packages/RazorGenerator.MVC">RazorGenerator.MVC in nuget</a> is 1.4 (Friday, April 20, 2012) so perhaps the version mismatch is the issue..? </p> <p>I have tried restarting VS and my machine without success, I even un-installed the extension and re-installed and that also didn't work. </p> <pre><code>Exception calling "RunCustomTool" with "0" argument(s): "The custom tool 'RazorGenerator' failed. The method or operation is not implemented." At D:\Source\MySolution\MyProject\packages\RazorGenerator.Mvc.1.4.0.0\tools\RazorGenerator.psm1:32 char:32 + $_.Object.RunCustomTool &lt;&lt;&lt;&lt; () + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : ComMethodTargetInvocation Exception calling "GetItem" with "1" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))" At D:\Source\MySolution\MyProject\packages\RazorGenerator.Mvc.1.4.0.0\tools\RazorGenerator.psm1:62 char:46 + $solutionExplorer.GetItem &lt;&lt;&lt;&lt; ("$SolutionName\$ProjectName$relativePath").UIHierarchyItems.Expanded = $false + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : ComMethodTargetInvocation </code></pre> <p>In addition to this, I get the following build errors for each view (despite saying build succeeded):</p> <pre><code>Custom tool error: Could not load file or assembly 'file:///C:\Users\Rob\AppData\Local\assembly\dl3\VQ93NZJ0.M7K\4HA91P75.CHN\4b53b7b1\09b87db8_d4adcd01\RazorGenerator.Core.v1.dll' or one of its dependencies. The system cannot find the file specified. </code></pre> <p>I <a href="http://razorgenerator.codeplex.com/SourceControl/changeset/view/5dd40e221a03">downloaded the source</a>, built locally and copied the 'RazorGenerator.Core.v1.dll' into the directory from the error message but it still didn't work. I even copied all of the RazorGenerator*.dll files into that directory but still no luck. Checking the dependencies only shows system assemblies and 'RazorGenerator.Core.dll' which is present in the same directory. </p> <p>Incidentally, the 'RazorGenerator.Core.dll' was already in the directory above. </p> <p>Looking in the Visual Studio extensions folder I have a directory for RazorGenerator as follows:</p> <pre><code>C:\Users\Rob\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\RazorGenerator contributors\Razor Generator\1.5 </code></pre> <p>The following files and assemblies are within this folder:</p> <pre><code>extension.vsixmanifest RazorGenerator.Core.dll RazorGenerator.Core.v1.dll RazorGenerator.Core.V2.dll RazorGenerator.dll RazorGenerator.pdb RazorGenerator.pkgdef </code></pre> <p>Any help would be very much appreciated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload