How do I set the IVsTextView default font?
I am writing a Visual Studio 2010 extension that uses the IVsTextView to edit acustom content type. I'm using MEF extensions (I wish to avoid writing an implementation for ILanguageService).I defined 3...
View ArticleGet all preprocessor definitions from VCProject
I have succeeded in getting some of the VCProject options in a Visual Studio Extension that I am writing. I see that I can use VCCLCompilerTool.FullIncludePath to get the set of directories used to...
View ArticleProject folder created after deleting with IWizard extension
Hi guysI've got a custom VS solution template that calls a library that implements IWizard. Within RunFinished() I've got some code that does the following:Creates a new folder called MAIN just under...
View ArticleException from Visual Studio Extension Gallery Service
I'm trying to make my extension automatically update itself when new versions are pushed to the Visual Studio Gallery. There are a few guides on how one may achieve this, but they are a couple years...
View ArticleMacro to Find and Replace
Hi All,Performing and record macro to find the selected string in open .RESX file and get the key and replace it on selection string.Below is the recorded macro with one modification for find...
View ArticleVSPackage Deployment: Custom Installer with VS Gallery Auto Updates
I have a VSPackage with a custom editor. I want it to show up in the solution explorer with a custom icon, which will require a custom deployment step.Here are my deployment requirements:As explained...
View ArticleUpdating threads name from VS 2013 Threads window (after a breakpoint is hit?)
Hi all,as we already know, the RaiseException approach is generally used for setting the thread name inside the VS IDE Threads window.This works fine for the case when the number of thread name changes...
View Articlevsixmanifest for all: VS 2010, 2012 and 2013
Hi, I have A vsix project that supports vs2012 now, i need to provide support in vs2010,12 and 13.for that i have changed the target version range to[10.0,12.0).But when installing the vsix the...
View ArticleProgrammatically getting current visual studio addin version
Hi I am creating a menu add-in vs ,when i choose the menu the action will be performed like belowIf add-in is used from vs2010 it should perform some specific actionsif it is used from vs2012 it should...
View ArticleTemplate: Solution Template Wizard
Is it possible to create a custom solution template wizard? If so, how?To provide some context, I need to customize the solution creation process by which steps such as source control branching must...
View ArticleTeam Explorer Visual Studio 2013: External Tools arguments are empty
Hi,We're using Microsoft Team Explorer for Visual Studio 2013, update 3 has been appliedI'd like to add external commands to the tools menu; every time the external arguments are emptySimple example is...
View ArticleHow to Collapse the Visual studio project items tree programmatically through...
Hi,I need the c# code for collapsing the Visual studio project items tree programmatically in the Extension projects. Can you please any one suggest the code regarding this. I have attached the snap...
View ArticleHow to consume service made in java in Multi-device hybrid App
I'm doing a project in the newly launched Multi-Device Hybrid App and I need to consume existing wsdl services made in java. But I'm not able to find the way to add the service reference as can be done...
View ArticleEnable drag drop support in solution explorer of VS2013
I have created a custom language service using MPF for Projects - Visual Studio 2013.The drag & drop is disabled when trying to copy or move a file or folder from the Project Explorer.How can I...
View ArticleHow to hook to toolbox item selection events or How to integrate to F1 for my...
Hi All,Extention type : Isolated shellVisual studio version : Visual studio 2010My main goal is to be able to provide F1 help for my toolbox item , i reviewed this artical...
View ArticleOpen Disassembly Window And Go to a particular address during Debugging
We have a VS 2010 based isolated shell application. I have a tool window that displays a subset of addresses during debugging (In debugger break state). When user selects a particular address , I am...
View ArticleWebSocket support in VSO Rest API
Does the VSO REST Api support WebSocket? And what about SignalR?Thanks!
View ArticleMove Project Folder - Access Violation
Hi there,I want to move a project that is within a solution.So I remove that project in my package. After it was removed I save the solution file.Then I move the folder and re-add the project.This...
View ArticleAccess violation exiting an Isolated Shell application
My Isolated Shell app is now suddenly giving this crash on exit that I have no idea of where it comes from.Here are the details Windows give: Problem Event Name:APPCRASH Application...
View ArticleVisual Studio Package: Expand/Collpase State of Items
Hi there,I want to manipulate the expand/collapse state of TreeView items in the solution explorer in my package.I want to save the current state, do some stuff with the projects and items (for example...
View Article