FileNotFoundException error being thrown in Visual Studio 2010 extensibility...
In VS2008, if you wanted to componentize logic in a class library project and add a reference to that project to a Visual Studio Add-in project, doing so was seamless and worked as expected. Now, in...
View ArticleHow to remove “Tools->Connect to Database” menu in the Visual Studio 2012...
I need to remove the "Tools->Connect to Database" menu in the Visual Studio 2012 isolated shell. According to MS, I need to have this entry in the "pkgundef" file. // Visual Studio Explorers and...
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 ArticleInstalling vsix package by downloading through extension manager causes...
Hi,I recently developed a vsix package, and put it up in the visual studio gallery for download (Bookmarks By The Numbers). But when I download it through the extension manager in Visual Studio, it...
View Articlemicrosoft.visualstudio.vcproject.dll dependency
My VisualStudio addin depends on Microsoft.VisualStudio.VCProject.dll and this has been developed on VS2008. Now when I install my Addin on VS2010 it doesn't workReason being it cannot find reference...
View ArticleMy first Add-in for Visual Studio. How debug active document in test project.
I try to write my first Add-in for Visual Studio 10.Operation System: Microsoft Windows Server 2003 Standard Edition. Service Pack 2I created project with Add-in (VB.NET).Method Exec has next code:...
View ArticleHow can I force an IWpfTextView to refresh/invalidate it's layout?
In my extension(MEF) I want to set tab offsets for every line programitically. I need to set not only the first tab offset but also the other tab offsets too in the line, so I created...
View ArticleVS2012 - Attach to IIS with UAC
Hi, I'm creating a custom project for Visual Studio 2012.When I run the project, I build my assembly and attach to IIS. I was able to do that by implementing IVsDebuggableProjectCfg. However, when...
View ArticleHow does the VSStd97CmdID.Find command work?
Hi,I am developing an extension for Visual Studio 2012.I used an IVsTextViewCreationListener to add a IOleCommandTarget to a text editor. I am trying to use it to capture user action, especially search...
View Articlewhat does CompletionSet.SelectBestMatch() do?
I know according to the msdn documentation it Determines the best match in the completion set but how does it do this? Is there a way to access the completionSet in order of confidence?
View ArticleVS2012 - Unable to deploy anything
Hello, I have spent hours trying to resolve this issue and have made no progress. I recently upgraded from Windows 7 to Windows 8 and installed VS 2012 Premium from MSDN. Since then I have not been...
View ArticleForm-based/Console application using VS-2012 for windows 8
i have VS-2012 for windows 8 and i want to develop Form based and console applications using it.How can i do it,as System.Console seems to be absent.
View Articlecustom rendering of components
I am new to XAML an c# but i have some experience in Java Swing. I have VS-2012 for windows 8 that makes the development of apps easy but i want to know how i can get full control of rendering some...
View ArticleCode Snippets Not Working In VS 2012
I'm developing a language service that supports code snippets. I can insert snippets without any problems in VS 2010, but when I try to insert snippets in VS 2012, it comes up with an empty expansion...
View ArticleSDK Package - LanguageService
HiI'm trying to move a LanguageService, written in C++/Cli from VS2010 to VS2012.After several tries, changing the references by the new ones, I have a trouble with the order of the references, or...
View ArticleLightswitch Extensibility Toolkit question...
Hi everyoneWhen I downloaded the Lightswitch Extensibility Toolkit, like an idiot in too much of a hurry, I neglected to read document "Installing the Toolkit" and installed to a directory other than...
View ArticleRitchTextBox Color Dynamic Resources
When I use following FlowDocument in the demo VSPackage project it isn't rendered in RichTextBox at all. And even I define BlackColor in resource dictionary(<RichTextBox.Resources><Color...
View ArticleMacro: Find type of variable at cursor position?
Can I use the code model in Visual Studio 2010 or 2012 to find the type of variable at the cursor position?I would like to do this in a macro or add-in. I have Windows 7 SP1. I have been able to find...
View ArticleTxtRange MoveToPoint does not work for some page.
HiI use the MoveToPoint in TxtRange without success for some locations in some pages. It works for some locations but not some other locations. For example, it works for the beginning of the following...
View ArticleModifications applied to a DSL externally, how to silently reload diagram
Hello,I'm doing several modifications to a DSL designer xml file directly, when this happen, obviously VS prompts to reload the file.There is some way trough Automation or from a VSPackage to avoid VS...
View Article