Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VS2010 - macro fails to run

$
0
0

Once again, a problem with DTE.ExecuteCommand. This time it's the most plain vanilla context - just sitting in the text edit.

Here's the recorded macro -

Sub TemporaryMacro()
        DTE.ExecuteCommand("Edit.GoToDefinition")
    End Sub

This macro corresponds to the keystroke F12 in the editor, editing a C++ file.

I've seen reports of this in VS2005, claims to be fixed in VS2008 (though the poster claims to be able to repeat the error in VS2008), and a post in which the explanation was the operation was invalid during a build. None of the applies here.

VS2010 Pro, SP1, Windows 7 Pro SP1 64bit


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>