envdte
How do I prevent IVsBuildPropertyStorage.SetItemAttribute from escaping special characters?
I am working on a Visual Studio 2010 extension and I want to add an attribute to an MSBuild Item, as follows:[详细]
2023-01-20 23:30 分类:问答How do I set the Project's 'Start External Program' setting programmatically?
I have an IWizard which gets access to a Project variable. What code do I need to write to set the \'Start External Program\' value in project properties开发者_JAVA百科?Here\'s a macro that will set t[详细]
2023-01-19 02:19 分类:问答Getting the return value of a method via DTE.Debugger without evaluating the method?
I\'m looking for a way to get the return value of a method via the Visual Studio Debugger (using DTE). Is it possible to obtain it if I\'m at the closing brace of the metho开发者_StackOverflowd, but n[详细]
2023-01-14 20:16 分类:问答How can I get only classes defined in the current project in EnvDTE?
I\'ve got a Package for Vs2010 that currently follows EnvDTE=>Solution=>Projects=>CodeModel=>CodeElements[详细]
2023-01-12 18:49 分类:问答How to block on a OpenFile in a Visual Studio addin
I have a Visual Studio 2008 addin that when I press a certain hotkey, it opens a specific file (different based on the context of the hotkey) and then searches that file for a specific string (again,[详细]
2023-01-06 17:56 分类:问答EnvDTE Retrieving the data type from a CodeElement
I am using EnvDTE to generate some code in my latest project. I have a reference to a CodeClass-Object for a given C#-Class but now I wanted to loop through all of its members (in codeClass.Members)[详细]
2023-01-02 18:17 分类:问答How can I listen for the deletion of a ProjectItem via DTE?
I\'ve got a designer that relies on the existence of other solution items.If one of those items is deleted the designer crashes and you have to edit as XML to fix.Not exactly user friendly.[详细]
2022-12-30 13:44 分类:问答How do I find and open a file in a Visual Studio 2005 add-in?
I\'m making an add-in with Visual Studio 2005 C# to help easily toggle between source and header files, as well as script files that all follow a similar开发者_StackOverflow中文版 naming structure.How[详细]
2022-12-29 19:23 分类:问答How to get notification when a successful build has finished?
I\'m writing an VS add-in and I need to run a cert开发者_JS百科ain method after a successful build.[详细]
2022-12-29 14:30 分类:问答Finding a ProjectItem by type name via DTE
Given a type name, is it possible to use DTE to find the ProjectItem that the type is located in? Something similar to how the Navigate To... dialog works in Visual Studio 2010.[详细]
2022-12-25 18:07 分类:问答