Visual Studio Macros

DTE – meaning got lost in time. Application object – Development Tools Environment.

Use record macro, inspect and learn

ProjectName = DTE.ActiveDocument.ProjectItem.ContainingProject.Name
DTE.ActiveDocument.Selection.Text = “Hello World”

Leave a comment