OnBeforeOpenSolution - Return error??
What should I return so solution load does not continue if OnBeforeOpenSolution call fails?I am implementing it for a VSIS 2012 application and want to stop loading the solution, if this event...
View ArticleGetting all classes and methods from solution and display them in project...
Hi,I have added my new project template with wizard to 'New Project' dialog in VS 2010.What I need to do is that to display all classes,corresponding methods and method code in the wizard.Please...
View ArticleCancelling Debugger event using Visual Studio Extensions is not working
Hi, Our team is using a custom solution using the Visual Studio plugin system for building our code in Visual Studio. Basically what we are doing is to intercept all the build events, execute our own...
View ArticleVisual Studio Extension -Intercept file loading - ITextDocumentFactoryService?
I am writing a visual studio extension which would be used to edit parts of an xml file. I want to intercept the file load, and only load the relevant parts into the editor. I am trying to use the...
View ArticleTemplate Shell Isolated and new language
Good morning. First of all, sorry for my english. I have a query with the theme of the templates in Isolated Shell, in the example of IronPython VS2010 Isolated Shell can not find where it's shown that...
View ArticleDetermine from EnvDTE/VS SDK Debugger if the debugged application is a...
Hello,I'm trying to determine whether the debugged application is a Windows Store app. Currently, I'm searching the loaded modules to see if there are any *.winmd files present, but this is more of a...
View ArticleIVsTrackSelectionEx not working the first time on a ToolWindowPane
I created a toolwindow pane, when i call the IVsTrackSelection, it changes the property grid fine.But it does not work if my tool window pane was active at start up. It start working correctly if i...
View ArticleSolution2.GetProjectTemplate() with templates installed via VISX
I have a managed package that I have created for Visual Studio 2012. I created several project and several item templates for the package. I want to unit test my project templates. Everything I see...
View ArticleCustom project type: MSBuild using pre-existing in-memory items?
I'm looking to construct a new project type, for a custom language which I am building integration for. In the course of providing features such as code completion and syntax highlighting, I am loading...
View ArticleNative visualizer crashes when copying std::vector subclass
Hi,I created simple class that extends STL vectornamespace nv { class SubVector : public std::vector<unsigned char> { public: SubVector(); }; }I would like to display first 16 elements as hex...
View ArticleWhy does FontsAndColorsItems return 19 duplicate entries in Visual Studio 2012?
In Visual Studio 2012, when programmatically requesting the list of colorable items via EnvDTE.Properties ["FontsAndColors", "Text Editor"] item "FontsAndColorsItems", the resulting FontsAndColorsItems...
View ArticleMacros in Visual Studio 11 Developer Preview
Have macros been stripped from Visual Studio 11 completely? I can't find any reference to them, or panes like Macro Explorer, in the Developer Preview build. Or, is it just that they're not in this...
View Articleenvdte compile single file
Do DTE provide any method to automate compile single source file instead of the whole project or solution ?
View ArticleDisable context menu for find symbol window items
When I implement "Find All Reference" using IVsSimpleLibrary and IVsSimpleObjectList. Results records will display in find symbol window. But override IVsSimpleObjectList.GetContextMenu() and return...
View ArticleWhich Visual Studio API to use to link the time of execution to the specific...
HiI am creating a Visual Studio Plugin/addin.What I want to do is this-The user activates my plugin. Now he runs his program.Once program starts running, my plugin notes the exact time at which each...
View ArticleVSIX: Unmanaged DLL inside VSIX can't be found from extension
I have a Visual Studio extension which depends on an unmanaged DLL. This DLL isn't a COM DLL or anything like that- it just exports some C functions. I succeeded in including the DLL in the VSIX, but...
View ArticleInstalling assembly to Toolbox
Dear All,An old question which seems to be in need of a revision. We were installing adding assemblies to Visual Studio Toolbox without adding them to the GAC for the last 10 years. The magic is...
View ArticleAdding my project template to Test->Add New Test Dialog in VS 2010
Hi,I have extended Visual Studio 2010 to add My Project Template.But by default it appears in the 'New Project' dialog.How can I add my project template to 'Test->Add New Test' dialog in VS...
View ArticleHow to create a window with three paritions in a visual studio 2010 add-in ?
I am writing a visual studio 2010 add-in in c# which does some program analysis for c#A window as shown below needs to be created when the add-in is loaded....
View ArticleDatabase projects
Hi All,I am developing Version control system. I have written following code to get the projects in the solution.Ivssolution.getenumprojects(....) // code.I am getting number of projects for the...
View Article