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

How to use DTE.ExecuteCommand and how to get list of available commands?

$
0
0

Dear coders!

Google has not been my friend on this one (surprise, neither has Bing).

I want to automate VS2008 externally (basically, start it, open a solution, rebuild it, and check for errors). Kind of my version of a build server.. don't ask, it kind of makes sense given other circumstances.

I came across the EnvDTE.DTE and the ExecuteCommand, but cannot find any documentation on it.

So.. is there documentation, and is there an easy-to-use way of using it? Like a macro recorder or something?

(I found this http://skysigal.xact-solutions.com/Blog/tabid/427/entryid/1550/Visual-Studio-Macros-Where-to-find-the-full-list-of-commands-available-for-DTE-ExecuteCommand.aspx which does not work for me - immediate window is dead, and only seems to recognize commands that are valid in the current context like when debugging.)

Best wishes

Andreas


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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