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 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 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 ArticleAdd-In: Solution Explorer doesn't redraw SC glyphs while options dialog is open
Hello,I'm developing source control plugin for Visual Studio 2010/2012. My work machine has Windows 7 installed on it. I've debug my development my deploying vsix content into experimental intance of...
View ArticleGetting the current search options (FindOptions)
Hi, I am writing a Visual Studio 2012 extension and I would like to perform some search operations automatically, either through ITextSearchService or ITextSearchNavigator. Both require that I pass a...
View ArticleUsing ModelObjectItemWizard in a Visual Studio Template
I need to create a project template for our team. And I also want to automate display the EDM Wizard while start create the project. So after the project is generate, there will have a EDMX file.So, I...
View ArticleHow to refresh only visible hierarchy items in Solution Explorer
Hi Guys,I'm trying to solve the problem of efficient glyph rendering in Solution Explorer. The common and well known way is to run through the whole solution hierarchy from root (solution file) to all...
View ArticleT4 - Property "TransformOnBuild" creates different namespaces than using...
Hi,I ran into a problem with the T4 engine of Visual Studio 2010:I use "preprocessed" templates to generate code. If I press the "Transform All" button in the Visual Studio IDE, generated CSharp...
View ArticleSSDT Power Tools are disappeared
The expression "ssdt" cannot be found:+ http://visualstudiogallery.msdn.microsoft.com+ VS 2012 -> Tools -> Extensions and Updates -> Onlinetatlas
View ArticleQuestions about debugger data tips
Hi,I implemented a custom debug engine that supports debugger data tips.Question 1: is it possible to enumerate all currently pinned data tips (via some DTE oder IVs-class)? Question 2: I want to...
View ArticleVisual Studio 2010 variables not recognized when using ITextTemplating...
I've created a Visual Studio 2010 AddIn (C#) to automate processing several T4 templates within a solution. The problem I'm seeing is that if I manually Run Custom Tool from within the IDE on any of...
View ArticleItem Template Custom ProjectItem Designer
My goal is to create a multi-file item template with the following characteristics:A T4 text template that reads values from a text file in the project and uses those values during its transformation....
View ArticleExtending Visual Studio: How can I use the "Attach to Process" UI to debug...
Hello, I have read many documents like "Remote Debugging of a Project Built Loccally" (http://msdn.microsoft.com/en-us/library/8x6by8d2.aspx) but all of them requires the use of VS Remote Debugging...
View Article"Path may be too long in VSIX"
Hi,I am trying to upload the VSIX file in Visual Studio Gallery.I am getting, "Path may be too long in VSIX" error while upload. Could anyone help me to solve this issue.
View ArticleWhat is the reg hive 11.0Exp_Config_XXXX?
Hi gurus,According to the MSDN Blog Dissecting VS 2010 Package Registration and Your VS Package may not load after porting it to VS 2012, I'm successful register a Package which is developed in VS2010...
View ArticleVisual Studio Shell and VSPackage of WPF
I need to create a Visual Studio Shell with a custom WPF project template. I follow the link: Walkthrough: Part 1 - Creating a Basic Project System...
View ArticleKeeping persistent results between calls to ParseSource(), and dealing with...
I've written a working Language Service for the scripting language we use internally, but as I was figuring everything out as I went along I'm now looking back at it and adding more features and...
View ArticleVS 2012 devenv.exe.config changes
We've been relying (rightly or wrongly) on putting system.serviceModel changes into devenv.exe.config for some extensions that we have in an attempt to re-use the same configuration approach for our...
View ArticleMARKERTYPE.MARKER_READONLY disables Replace for the whole file
I'm working on an extension for Visual Studio 2010. I'm using the functionIVsTextLines.CreateLineMarker((int)MARKERTYPE.MARKER_READONLY, ...to make some syntax elements in a text buffer read-only....
View ArticleHow to hide a FileNode?
Hi, I have a custom project in visual studio, and I want to hide some file nodes, but not delete them.I find a way to call SetProperty method by __VSHPROPID.VSHPROPID_IsHiddenItem, I got a resault...
View Article