Exec & QueryStatus methods are not triggered for Solution Add ins
Hi, I have the following scenario: Add-in class (implementing IDTExtensibility2, IDTCommandTarget) registered for COM interop The add-in is added as a solution add-in by some code. Add-in is loaded...
View ArticleVS 2012 VSIX IWizard problem
I'm trying to build a multi-project template VSIX deployment with a Wizard to generate custom code.I have built 2 projects and generated the templates (.zip) files.I created a 3rd project using IWizard...
View ArticleVisual Studio fails to build VSIX project for some reason
Hello, I am using Visual Studio 2012 to build custom TFS checkin policies and have a VSIX project to create the .vsix file that is used to deploy them. A few days ago VS 2012 started telling me that...
View ArticleDesigner similar as entity framework
Hello,I have a simple question but I cannot get a correct search on google to find what I want. I'd like to develop an extension for Visual Studio that would allow me to design SharePoint content type...
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 ArticleHow does one run mspaint.exe out of system32?
When one attempts to run mspaint.exe outside of system32 it gives a messagebox saying "Unable to create new document.", I'm wondering how (or if) I can bypass this.I'm not sure where I should start,...
View ArticleStackFrame - get function parameters
Is it possible to get the list of function parameters when the function is represented by an EnvDTE.StackFrame object? The function is native (c++) and its symbols are loaded. StackFrame.Arguments...
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 ArticleHow to find a projectitem in a project
I have a solution which has several projects in it.I generate files with .tt templates and have to add them at the right place.An image of the project setup:When a user chooses to generate a factory in...
View ArticleIVshierarchy is not IVsProject in VS2012
In VS2005, Vs2008 and VS2010, I could use the following line of codeNote: hierarchy is an object of IVsHierarchy and is the hierarchy of the project file IVsProject currentProject =...
View ArticleSequence of IWorkItemControl's .InvalidateDatasource() / .Clear() calls upon...
Good evening,creating custom work controls implementing the IWorkItemControl interface has been, at least for me, always a bit of a mystery when it comes to Visual Studio / Microsoft TestManager...
View ArticleDisable or Replace standard VisualStudio TFS Query Result View Context Menu...
Hello there,is it possible via a custom add-in to disable Visual Studio 2010 standard functionality in its TFS Query Result view / WorkItem Linking context menu, particularly these two:..anything from...
View ArticleLoading of connection string with SQL Server Data Tools installed
Hi.I use ServiceCache.ScriptFactory.CurrentlyActiveWndConnectionInfo (from Microsoft.SqlServer.SqlTools.VSIntegration.VS.dll assembly) to get connection string for currently opened tab.The problem is...
View ArticleEvent handler for window close
We have a Visual Studio 2010 menu addin. On clicking the menu, we load a window (EnvDTE.Window) with a user control. I need to know when the window is closed by the user by clicking on the X button....
View ArticleVisual studio template folder
Hey, I'm working on a visual studio template for c++ and in the vstemplate-file is used for a file TargetFileName="\MyProject\MyAppName\$safeprojectname$.h" to specify that there should be folders...
View ArticleC++ VS 2008 Add In and atlwin.h
Hi,I have a VS 2008 C++/ATL Addin project and want to use the window class in atlwin.h. As soon as I add the include, the compile fails with an ambiguous reference ...1>c:\program files\microsoft...
View ArticleBuildProject problems
I am attempting to build a project programmatically. I have the following code (C++): CComQIPtr<Project> pProject;...hr = pSolutionBuild->get_ActiveConfiguration( &pConfig );ATLASSERT( hr...
View ArticleAddIn: have to use /resetaddin every time
I have an addin written in C# which appears to be working fine - it shows up in the AddIn manager with a checkmark in front of it and both Startup and Command Line are checked.This addin uses the...
View ArticleErrorListProvider in VS2010 throws InvalidOperationException about IVsTaskList
I'm trying to hook into the ErrorListProvider in VS2010 to provide some more feedback from my VS2010 extension addin.The code is as follows: try { ErrorListProvider...
View ArticleIVsTaskList must be installed for this feature to work
HiI am trying to add custom errors to errors task list on visual studio 2008 through an add-in. It works fine on visual studio 2008 professional edition but not on team system edition. Any idea?errors...
View Article