Getting Bookmarks Programmatically in Visual Studio 2010
I am using VS 2010 and I want to do something quite simple. Write a Macro / Add-in which willSave the bookmarks to a file (e.g. "myfile.bookmarks")Load bookmarks from a file.I just cannot find any API...
View Articlehow to add error in error list in visual studio?
how to add error in error list in visual studio? but it may be error or warning or message!!Please give me some suggestion how to do that?
View ArticleHow to deploy a documentation to Visual Studio
Hello,I've already released a SDK for several partners.Now i want that the next release include the documentation i've just build using Sancastle and Sandcatle Help File Builder.I found how to...
View ArticleIVsFileChangeEx and .vcxproj.filters files
We have an IVsQueryEditQuerySave2.QuerySaveFiles hook that traps attempts to write to source controlled files. If we allow an overwrite, we post a adviseFileChange hook for the files. This hook is...
View ArticleCan't find current vsdoc.js file
No matter how hard I try, I can't find the current vsdoc.js file anywhere.Can someone please enlighten me on where to find that file?I'd like to use it with Visual Studio 2012.I'd preferably like to...
View ArticleTrying to change context menu item in Visual studio Add-in
I am trying to modify and extend an open source existing visual studio add-in. When I try to change the context menu name and also the top menu name to say "Modify" intead of "Refactor", I get an error...
View Article"Dynamics Ax User Control" not available in the item template list for VS...
Hi All,I have created a website "File | New | Web Site" then selected "Dynamic Data Web Site" but, I don't find the expected template as shown in the figure from a reference book to "Add New Item" of...
View ArticleHow to get the right “Output path” from EnvDTE.Project by code if “Show...
I find that the check box “Show advanced build configuration” itself affects the result.Here is my test code: staticstring GetAssemblyPath(EnvDTE.Project vsProject) { string...
View ArticleHow to add parsing errors to ErrorList window?
I am working on a project to create a language service using Managed Package Framework. I want to show the parser errors in the error list window. Using DTE2, I can get a handle of ErrorList...
View ArticleHow to re-use cancel build functionality in own code?
Hello, All I want to re-use cancel build functionality (Ctrl+Break) in own code. I have created menu item in main menu and assign event handler to it menu item. Into event handler body I have created...
View ArticleManage signature help sessions
Hi all,I would like to manage the signature helps of my methods.Currently I created an mef project, that use CreateSignatureHelpSession from ISignatureHelpBroker to create signature sessions.when I...
View Articleget Solution for a pendingChange
Hey, I'm working on a Policy-Plugin and need to know if the following is possible.I use the Paramter IPendingCheckin and with PendingChange[] changes = pc.PendingChanges.CheckedPendingChanges; I get...
View ArticleHow to use DTE.ExecuteCommand and how to get list of available commands?
Dear coders!Google has not been my friend on this one (surprise, neither has Bing).I want to automate VS2008 externally (basically, start it, open a solution, rebuild it, and check for errors). Kind of...
View Articleprogrammatically load/register a project template from within a package
hi all,i am currently working on a vnext of my nunit extension for asp.net mvc. it should support asp.net mvc 3 & 4 as well as visual studio 2010 and 2012. most of that is not hard to implement...
View ArticleVS Shell / Package: Find and Replace Text in a Selection Not working as expected
Hello,I am creating a new custom WPF Editor in VS2010 and I noticed that my Replace in selection code doesn't seem to be working as expected. When I have text selected and then search for text using...
View ArticleTrying to get all resource files in solution and display their filenames
I am building a visual studio Add-in, and I am trying to get all the resource files(.resx) in a solution and display them into a listview. The code I came up with doesn't seem to do anything, so I was...
View ArticleVS 2012 Package: Supporting Dark Themes
Hello, We officially support VS11 but have ran into issues when it comes to the dark theme. We have a custom editor and are looking at the DTE properties for the font styles and colors. We are...
View ArticleTemplates: Visual C++ project templates using property sheets in Visual...
Hi,I'm trying to create templates for a common project configuration at my work. We are using property sheets to share common configuration across the C++ projects, and I want to include these as part...
View ArticleVisualStudio internal ProjectAutoToolboxManager seems to incorrectly...
Hi,We have a VS Package that implements the IVsBuildableProjectCfg interface. It used to work fine with Visual Studio 2008 and 2010, but we noticed the build was always cancelled by one of the...
View ArticleCant get visual studio 2010 extension to debug properly.
I am trying to debug a Visual Studio extension and when I hit debug the project, the experimental copy of VS opens up but it appears that the extension is not loading. The items do not show up in the...
View Article