Expand property programmatically
I developing VSPackage using MPF. My package expose some data to the standard Visual Studio Properties tool window (using "SelectionContainer" and "ITrackSelection"). Now I am facing the problem: I...
View ArticleAdding a different Project (Configuration|Platform) to Solution
If I add a new C++ project to a solution, and the project has Win32 and x64 Debug and Release configurations, the project is added correctly to a pure C++ solution, with all the...
View Articlevisual studio 2010 extension - how to query/listen to compiler or coding errors?
I'm using the VS 2010 SDK to write some extension for VS. The extension pretty much needs to catch the coding errors on the IDE or compiling errors and log them onto a separate dialog. Does anyone know...
View ArticleHow to capture key press events in VS code editor? (VS 2005- C#)
Hi,I am developing an add-in VS 2005 using C# (without SDK).I am able to capture the line change event with the help of TextEditorEvents .There is no event under TextEditorEvents to capture key...
View ArticleVisual Studio Extension, how to clear all tags (smarttags, naturaltags,...
Hi all,Ive been banging my head with this for a couple days now, and cannot find a answer to this.So, Ive update the Spell Check extension in the VS samples to just report points in my source code that...
View Articlei have some C files with make file, can i convert this as a visual studio...
create visual studio project from the makefile.sunil45
View ArticleAccess denied while trying to a load a Microsoft.Build.Evaluation.Project
Hi,I'm trying to load a project using the following code:Microsoft.Build.Evaluation.Project project = ProjectCollection.GlobalProjectCollection.LoadProject(path);But I get the following...
View ArticleIs it possible to do reflection activities on Signed Assembly(.net).
Currently i am creating a plugin in visual studio 2010. In that i am reflecting on the project assembly(exe). So i want to know whether it will create any problem if project is signed with a key.
View ArticleHow to include a common dll repository that can be used by many of the...
Hi,I am creating a new VSIX extension. Once installed, I will create few projects [class library & web application] I have to share some of the dll files between these projects. I have updated the...
View ArticleAdding marks to a scrollbar in visual studio extension
Hi,Im have several lines that i need to highlight in a scrollbar in the visual studio editor, but cant find a sample that does that.Can someone indicate a sample where this is done.Thanks in...
View ArticleHow to Determine the Install Path for your Extension
I just ran into this issue, and after solving it I figured someone else might be interested in the solution, so I figured I'd post it here for posterity. I was unable to find a solution to this problem...
View ArticleAccessing IVsHierarchy and friends in Dev11 MPF.
The new Dev11 MPF is careful to use the new InteropSafeIVsHierarchy (and other) accessors to marshal interfaces implemented by the ProjectNode. Presumably this is due to the increased possibility of...
View Article"Goto Definition" opens new tab for already opened tab
Hi everyone,In my languageservice one can use the "goto definition/declaration" feature by pressing [F12]. In that case, the "Goto()" method of the corresponding AuthoringScope is called as expected....
View ArticleAdding dll files to a folder that is not a solution folder using Guidance...
I am using GAX and creating a solution with multiple projects. I wanted to have a folder in the created solution [not belonging to any of the projects] so that i will place the common dll files there...
View ArticleVSIX for both 2010 and 2012
Hi,I am creating a VSIX extension in visual studio 2010. I have to provide the support for VS2012 and VS2010. I have no option of VS2012 in the following dialog. Will my extension work with both 2010...
View ArticleCan I use Microsoft.Cci.dll in my commercial product?
I am creating a plugin to static analysis of code. And I want to reflect assembly and for that i want to use Microsoft.Cci.dll.According to me it is a free dll from Microsoft. Am i right? And can i use...
View Articleinformation on how to implement syntax validation in a background thread
I am the author of the extension TextHighlighterExtension2012 and TextHighlighterExtension for VS 2010. Both extension provides color coding and syntax validation for JSON. But the syntax validation is...
View ArticleRegister Debug Engine when loading Platform files
Hello,I have a custom MSBuild Platform configuration which I would like to create a Debug Engine for.I am working on Win7 and targeting VS2010.The platform configuration is stored within a repository...
View ArticleHow To Integrate My Extensions Options Screen Into VS Standard Options Dialog
I see commercial and other VS extensions whose option settings are integrated very nicely into the Options window that you get from VS Tools | Options main menu click. I've done a lot of searching...
View Articlehow to integrate project template with the extension like tool box in vs2010
Hi,I have two different extensions which needs to be integrated (one is dependent on another)I have created a project template (vsix) and also created window like (tool box also vsix) which will have...
View Article