How can I subscribe to a snippet insertion event?
From a VS package, I need to respond whenever a snippet is inserted into the active document. What would be the best way to accomplish that? Thanks in advance.
View ArticleHow to check if file is included in Project
I have been using this code below to include the files to the project.var project = new Project(projectFile); project.AddItem("Compile", fileToAdd); project.Save();The file already exists in the...
View ArticleIChangesExt service returned is always null
I'm trying to add Git support to my Visual Studio 2015 extension Diff All Files. I have everything working properly for the TFVC Team Explorer pages, and am trying to now have my extension show up on...
View ArticleHow to get the Selected Item on the Visual Studio Environment Test Windows?
Hi!I'm developing a VSIX extension for Visual Studio to keep track of useful Unit Test information. To help the interaction with this extension, i've managed to add button on the Test Result and Test...
View ArticleHow to get solution renamed event in VS packages .
Hi ,I'm creating a VS package using VS2012, problem is how i can get the solution renamed event which is provided by DTE classes and events . i dont want to use automation model in VS packages so...
View ArticleVS 2013 VS 2015 Framework 4.0 issue ViewBag, Model Not found
I'm running VS 2013 for a .Net Framework 4.0 Project. It runs and compiles on the dev machine but if I just open the same project in VS 2015 Razor seems to be missing.ViewBag, model,Scripts, HtmlHelper...
View ArticleMigrated Visual Studio extension package does not load when building from...
Some years ago we made a Visual Studio Add-in, which uses the build events as trigger for the action. The Add-in was working in the IDE and the Command Line mode. To load the Add-in for command-line...
View ArticleLength of ListView relative to the size of window(Visual Studio extension) in...
I have developed one Visual Studio extension. The problem that I am encountering is the ListView as marked in the snapshot should not go below a certain point. The result here is correct:The ListView...
View ArticleHow do I reliably get the view port top edge from a IWpfTextView?
I've been using IWpfTextView.ViewportTop and it works as long as the user scrolls around. However when the view is changed dramatically, the ViewportTop gets reset to zero. (From the docs on...
View ArticleCustom Tool is no longer working in VS 2015
I got a new laptop with Windows 10 and VS 2015. Our application uses Reverse POCO Generator. We used to be able to right click on the SiriusSQL.tt file, select 'Run Custom Tool' and it worked fine. Now...
View ArticleCustom Tool is no longer working in VS 2015
I got a new laptop with Windows 10 and VS 2015. Our application uses Reverse POCO Generator. We used to be able to right click on the SiriusSQL.tt file, select 'Run Custom Tool' and it worked fine. Now...
View ArticleHow to create new project for a solution like Solution2.AddFromTemplate but...
We have a Visual Studio tool that amongst other things create a project from a template. Now when the whole automation model is set as deprecated we try to get out of the EnvDTE implementation. I can't...
View ArticleDevelopment of a Simple Custom Tool for VS2015Community
(I am re-posting my question here because this place appears to be the better one; the old post has been removed)I am trying to create a simple tool which reads the contents of a given source file and...
View ArticleHow to get the Git repository's path from Team Explorer's Git Commit Details...
I am adding Git integration to my Visual Studio extension Diff All Files, which allows for quickly diffing (i.e. comparing) all files in the Team Explorer window with a previous version. I have it...
View ArticleFxCop error on Vsix project VS2015
With VS2015 Enterprise I have created a new "Analyzer with Code Fix (NuGet + VSIX)" project. It works fine, but when I run the Microsoft FxCop rules on the solution I always got the following...
View ArticlePOST Request to Visual Studio Online REST API with AJAX
Dear all,I'm trying to make a POST request to the VSO REST API by using jQUery and AJAX. Here's my code: var bearing = "Bearer " + $('textarea#accesstoken').val(); var dataJSON = {"name":...
View ArticleCPackageManagerCLIHandler class
Does anyone know where the docs for the CPackageManagerCLIHandler class is?
View ArticleHow can I integrate external GDB (Debugger) in Visual Studio?
I am a big fan of Visual Studio. I am using it since 2005.Recently, I am researching BeagleBone embedded platform.For programming BeagleBone, I am using GCC toolchain. I have successfully developed...
View ArticleVSIX signing
Hi,I signing my VSIX package using the VSIXSignTool as described here the command says the package was successfully signed but when try to install the VSIX package it says the extension contains an...
View ArticleHow to update multiple single Excel cells using SSIS
I am trying to find a technic that allows me to update an excel spreadsheet with some customization in SSIS. I need develop the spreadsheet to show this type of result but I am finding it difficult...
View Article