Custom project creation in VS 2012 fails throwing "Class not...
I am currently working on a product that has integration with Visual Studio 2005. The integration uses a managed VSPackage(developed using C#), the PackageUI(developed using VC++), to integrate with VS...
View ArticleVS2012: Issue with control versions in Visual Studio toolbox
HiI have various controls from 3rd parties on my toolbox as well as my own custom user controls from my own libraries. A lot of these controls are not loaded in the GAC and are referenced directly...
View ArticleMSBUILD: setting property for separate files
Hi,Our extension provides our own platform toolset for our C++ compiler which is based upon VC++ toolsets (v100). Target file from this toolset sets preprocessor define (__MYCOMPILER) via property...
View ArticleSSMS Add-in - I can't get the existing Connection, can somebody help me?
Every time I try to use the "ServiceCache.ScriptFactory.CurrentlyActiveWndConnectionInfo.UIConnectionInfo" or the "ServiceCache", I get the same message: "The type...
View ArticleHow to cancel solution loading if something is wrong in...
Hi,How to cancel solution loading if something is wrong in IVsSolutionLoadEvents.OnBeforeOpenSolution?When opening a solution, I'd like to perform some check in...
View ArticleDebug Engine: InvalidCastException in Marshal.ReleaseComObject upon sending...
Hi all,I am working on a custom debug engine and, so far, I am playing with a very minimalistic implementation that is based on the MSDN sample and targets VS 2012 only just to get the basics...
View ArticleDebug Engine: What if I don't raise IDebugEntryPointEvent2 at all?
Hi,I am working on a custom debug engine. The debuggee specifics is that it might not have a single entry point at all (think of a Web page that just have a couple of onClick handlers but does not...
View ArticleDIA SDK get_addresstaken API
Can anyone tell me how to use DIA SDK API IDIASymbol::get_addresstaken. I have tried using this API with VS2005 and VS2008 but it always returns false. Do we need to set some specific compiler switches...
View ArticleLayout Toolbar ID
Hello. I am working with VS Shell project and I want to add a new custom command to existing Layout Toolbar. I can't find ID for Layout Toolbar. I already checked...
View ArticleGet selected item in Server Explorer
I am creating a VS Package to add a menu item to the context menu of a database table in Server Explorer. I've made it to the point where my menu item shows up in the context menu of all database...
View ArticleClarifications on Brace Matching in the Managed Package Framework
This is for a Visual Studio 2012 Language Package.So, I've been trying to follow what's been documented here on MSDN. I've read through the resources regarding brace matching (Brace Matching...
View ArticleMicrosoft Visual Cplusplus 2010 Express online gallery offline.
I am getting this when i try and go onto the online gallery to get more templates (need the .def template for creating a mex function from the ide). "Cannot search for online extensions because an...
View ArticleHow to define a new file extension for the Entity Designer
Hi,I want to use "Model1.foo" as the file instead of "Model1.edmx" so that I can use IModelConversionExtension extensibility. I think this requires me to register the ".foo" extension in the Registry...
View ArticleEmbedding a dedicated editor in visual studio
Me and my colleagues have developed a dedicated tool for editing a xml-file. We would like to embed this into visual studio to take advantage of integration with team foundation server etc. and to have...
View ArticleExtending JavaScript Intellisense in VS2012 (possibly VS2010?) for promise...
Hi, I am trying to extend intellisense by adding a completionItem to a promise success-function variable (which happens to be a known loaded AMD module object - albeit its type is irrelevant to the...
View ArticleHow to change/update parent pending breakpoints?
HelloIn my AD7 Debug Engine I have a little problem with breakpoints that have multiple bound breakpoints. My debug core does not support some actions on BoundBreakpoints, just on their parent...
View ArticleHidden Regions / Outlining not updated correctly
Hi everyone,my custom languageservice implements outlining / hidden regions. Basically, they are displayed correctly most of the time. However, if I press enter at the _exact_ location where a...
View ArticleAbout VS's Add-in
Hi all:)I wanna do a VS's add-in and the final result is to get a WPF xaml UI from a specific entity class model.The basic idea is to pop up a content menu when choosing a cs entity model class file,...
View ArticleDo we have classes available like FileCodeModel in VSPackage?
I have created a visual studio plugin to analyze the source code. Now I want to convert that plug-in to VSPackage extention.In Plug-in i am iterating through all Projects, ProjectItems, etc. using...
View ArticleTreat custom file extension as CSharp
Hi, I'm trying to open up files of type '.mcsx' as if they were .cs files in Visual Studio 2012 - i.e. with code completion and with rich formatting. I've tried a number of things to no avail:1) I've...
View Article