Enable/Disable a "vsct" button - Is BeforeQueryStatus the right thing?
Hello there,I've a ToolWindow with a ToolBar, implemented with vsct. I want to enable/disable a button in this ToolBar, when there is an item selected in the WPF datagrid.Currently I'm using the...
View ArticleVS 2010 behavior when switching layout context
In VS 2010, the shell have 4 window layout context: Design, Debug, Full screen and file. Each of those context contain window size, opened tool window, their position and size, etc.Currently, when VS...
View ArticleHow to handle Save, SaveAll menu events in VSTA
Hi Everybody,I have successfully integrated VSTA IDE into my host application, now i would like to handle default save, save All menu events so that i could check the project dirty flag and update the...
View ArticleVSPackage (.vsix) works in experimental instance but fails in normal...
I have integrated CefSharp browser control (Latest from Git) on windows form in a vsix package. When I run this vsix package on Experimental Instance of visual studio, it loads url properly. But when...
View ArticleIs it possible to name a set of folders in the Find in Files command?
In a VS2012 (or 2013) extension, I created a command that assigns a list of folders to the EnvDTE.Find.SearchPath property and then launches the Edit.FindinFiles command. This works fine: the dialog is...
View ArticleIs it possible to name a set of folders in the Find in Files command (using...
In a VS2012 (or 2013) extension, I created a command that assigns a list of folders to the EnvDTE.Find.SearchPath property and then launches the Edit.FindinFiles command. This works fine: the dialog is...
View ArticleHow to add adornment relative to the top right corner of viewport?
AdornmentPositioningBehavior.ViewportRelative seems to relative top left corner of viewport, but I wana to set adornment relative to the top right corner of a viewport. I also look into the code of...
View ArticleHow to know if user signin and his Microsoft Acount
Hello, everyoneVisual Studio 2012,2013 need user sign in with Microsoft accountHow can I know whether the user signed in and get the user's Microsoft account in VSIX extension?Thanks
View Article[Question] How to simulate the action about launch the VS help with C# ?
Hi All,I have a question about how to simulate the following actions with C#?step1: Highlights the keyword in VS editor ?(or search the keyword in editor?)step2: Press F1 and launch the help Can anyone...
View ArticleHow does one get additional dlls copied over to the...
Currently I have to copy over my dll manually every time I rebuild it, which is a super pain. Anybody know how to do this?
View ArticlePro* C
Hi guys, how do I configure Visual Studio 2008 to connect to oracle so that I can run pro* c (compile .PC files) with embedded sql?. Am using oracle 11gR2.
View ArticleAre the Visual Studio Package Extensions and MEF Editor Extensions mutually...
I just read in a page of Microsoft documentation that "The Visual Studio SDK is a downloadable set of tools that make it easier to develop Visual Studio extensions, either by using VSPackages or by...
View ArticleREST API - what are the Work Item creation / update requirements
I'm using the new REST API to interact with Work Items and I'm running into some issues. So far I can find work items and read their field values. I'd like to be able to create/update them.1. How do I...
View ArticleBest Strategy for Implementing Managed Code
Hi --I am implementing a language service that will integrate with the IDE and expose code editing, debugging, etc. My core language engine is implemented in non-managed code, and so its whole...
View ArticleHow to upgrade a VS2010 vsix project to VS2013 vsix project
How to upgrade a VS2010 vsix project to VS2013 vsix project??help me!做一名合格的中国人!
View ArticleIDiaSymbol::findInlineeLines doesn't return expected values (Debug Interface...
Hi,I am trying to extract the inlined function details from PDB file and observed that IDiaSymbol::findInlineFrames*, IDiaSymbol::findInlineeLines* APIs are not returning any value regarding the...
View ArticleVisual studio plugin compatibility with VS 2012
Hi,I have a problem making a VS2010 .vsix extension works on VS 2012. In fact, I can build the solution on VS 2012 and it shows no errors, then after running the generated .vsix, an icon for the plugin...
View ArticleBetter ways to check for project upgrade rather than relying solely on...
Am using VS 2010 SP SDK and VS2010 compilers to build a VSIP package. The implementation uses IVsProjectUpgradeViaFactory->UpgradeProject_CheckOnly method to confirm if a project needs an upgrade....
View ArticleUnexpected pUpgradeRequired value returned for a VS 2010 solution with...
A VSIP package built using VS2005 SDK and VS2010 compiler, returns pUpgradeRequired as true when UpgradeProject_CheckOnly method is invoked for a solution file, including a website and a C# project in...
View ArticleInstall (upgrade) VS2012 integrated shell
HI, I'm doing BI development. I installed SQL Server 2012 and SSDT-BI 2012. The latter installed Visual Studio Integrated shell. Now, I need to develop a custom extension for Reporting Services in of...
View Article