How to extend the default auto-formatting behavior for a builtin language
I'd like to change the behavior of the default C++ auto-formatter. Simple examples of things I'd like to do include:* Context-sensitive indenting, so that different lines are indented differently...
View ArticleHow to check out all the environment variables in visual studio
If I start the visual studio by devenv /useenv, visual studio will take in all the environment variables already set in the cmd shell. And there are tons of other ways to set environment variables in...
View ArticleHOW TO make Debug Custom project type work
Hi ,I am developing a new custom project under VS 2010 shell (MPF), the project output, in my case, is a set of metadata files which in the build process turn into binary which a server can run. ==>...
View ArticleQueryEditFiles() is called while saving the project file for SISS Projects
Hi,We are seeing a strange behavior and would like to know if its expected or a bug.We have a solution with SISS Projects on it. The complete solution is source controlled.Now, whenever I press on Save...
View ArticleVSPackage - How do I specify my own build functionality?
I'm new to VSPackage development and I've been going around in circles searching MSDN and these forums for answers.Basically, I want to hook into the VS build process in order to provide my own build...
View ArticleAccess information of "Changeset Details" tool window of Visual Studio 2012
Greetings!I am trying to add a menu item to the contextual menu of the "Changes" section of the tool window "Changeset Details". The menu item needs to have a list of selected files (in the "Changes"...
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 ArticleCan my extension get a notification when the debugged process spawns a child?
I'm writing an extension which adds some functionality to the native code debugger. One of the things I would like to be able to detect is when the process I'm debugging spawns a child process....
View ArticleAdd Custom Properties and Property Editors to HTML Elements selected in the...
Is it possible to add custom properties with a custom UITypeEditor to the selected html element in the HTML editor. I have read some posts about modifying the intellisense xsd files in C:\Program...
View ArticleHow to display text in different color on the right hand side of the VS...
I would like to display some static text on the right hand side (similar to "All projects up to date") of the statusbar as in the below picture. Current status bar implementation I have, displays the...
View ArticleAppend Color Picker in Visual Studio
I hope this is right Forum.When having a color property, e.g. BackColor, you can open a combobox to select a color or a named color like System.MenuText.Is it possible to change / add this color...
View Articlerunning a command in command windows
I have developed a control and in design time I need to run a command ( like tools.InstallCommunityControl ) in developers command windows in his IDE.Is it possible to do that in winform using C#?
View ArticleDesigner for a WPF UserControl in VS2012
Using the XAML-Designer from VS2012, I need to implement custom visual designers for our WFP-Controls. We're now working with .NET framework 4.0.We are looking for the following functionalities:- Drag...
View ArticleIs "ProjectItem.FileCodeModel" leaking handles?
Hi there,I have an add-in that's looping through all files in Solution Explorer and calling "ProjectItem.FileCodeModel" for each (on the main thread). That call is causing the "USER Handles" count for...
View ArticleVS Extension how to suppress reload project programatically
Hi,We have a VS Extension and it can add our own assembly references into Windows forms and WPF projects.In that after adding assemblies we are showing a confirmation dialog on the Extension Window.At...
View ArticleWizard: Error adding project reference (not DLLs) in...
Extension: WizardIDE: Visual Studio 2010 SP1OS: Windows 7 Ultimate SP1 (64 bit)Language: C#Error: "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"Code:public void...
View ArticleHow to detect if a "ProjectItem" is a code file
Hi there,Does anyone know how to detect if a file is a code file without relying on "ProjectItem.FileCodeModel" (in an add-in). I'm currently testing that for non-null but there seems to be a handle...
View ArticleHow do I make a VSIS application compile project on open?
Hi,I have a VSIS application, where I want to add code to force compilation on MSProj file on reopen. Please let me know the flag on MSProj file that determines this. I want to be able to edit that...
View ArticleExportTestConditionAttribute not recognized as a valid .NET type
Hi,I wasn’t sure if I should be posting this here or in the SSDT forum.I’m trying to create a custom test condition as described here:http://msdn.microsoft.com/en-us/library/jj860451(v=vs.103).aspxBut...
View ArticleGoToLine is no longer working in 2012 / 2013 when calling the internal...
We have a VS Package that has a custom editor. We want to show the native go-to line dialog that visual studio uses. We have had this implemented in 2010 using the following code:[CommandExecMethod]...
View Article