vs-extensibility Questions
7
Solved
How can I check/detect which Visual Studio version is running under my VSPackage?
I cannot get from the registry because the computer could have several versions installed, so I guess there is an ...
Agentive asked 18/6, 2012 at 12:3
3
Solved
I have a Visual Studio extension that show red error squiggles. I also like to provide squiggles with other colors, for example yellow for warnings.
Creating red squiggles can be done by extending...
Bangui asked 11/4, 2017 at 8:50
4
Solved
I am creating an extension for Visual Studio (2012+) that involves a tool window. I was hoping to style the window identically to match the current theme of Visual Studio. However, I am having a gr...
Oscular asked 4/7, 2018 at 22:16
2
Solved
Recently I found the above displayed Visual Studio Extensibility Platform chart from microsoft.
Most of the things are clear to me. However, I am wondering about the Package API and the VSL (Vi...
Rife asked 1/4, 2011 at 12:58
3
Solved
Following is how you would get the current solution directory from an add-in:
_applicationObject = (DTE2)application; // retrieved from OnConnection method
string solutionDir = System.IO.Path.GetD...
Affective asked 25/2, 2010 at 19:9
2
Solved
Where are custom extensions installed in Visual Studio? I know you could get path though ExtensionManager.GetInstalledExtensions(). However, it seems none of the paths found corresponds to my exten...
Stpierre asked 16/6, 2016 at 2:20
3
Solved
I have an application where I'm using XAML to represent my own custom object graph. It's quite different from the WPF/Silverlight object model (and not used for UI design), but it is possible to vi...
Ec asked 28/1, 2012 at 15:20
2
Visual Studio 2017 seems to have changed a lot of things in the extensibility area
https://learn.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017
The previous recommendations r...
Balls asked 16/2, 2017 at 10:20
2
I followed simple Hello World sample from Create your first extension: Hello World example from the Microsoft Docs to build an extension for SSMS 2017
Created VSIX project from Extensibility proj...
Chartres asked 11/11, 2017 at 16:12
1
Solved
VS now comes with an interactive window, but unlike running the raw CSI.EXE Roslyn process, Visual Studio adds IntelliSense and a few other features such as being able to load in the current projec...
Transept asked 14/12, 2017 at 6:47
2
The aim here is to incorporate StackOverflow popular answers into Visual Studio's Exception Assistant.
I have trawled the web without luck, the only information I could find about customizing the ...
Drummer asked 19/10, 2011 at 4:30
1
Solved
I'm trying to create an extension VSPackage for VS2017 (in C#) which would convert binary data to XML, opens that in the default VS XML editor and XML language service, and then converts it back to...
Sheldonshelduck asked 12/10, 2017 at 10:28
1
Solved
I have a VISX package that I compile using VS 2017. The package applies to VS 2015 & 2017 (it happily installs and runs in a production environment on both version of VS).
When I debug the pr...
Selection asked 1/4, 2017 at 13:8
4
Solved
How can I get the color scheme programmatically using a VSPackage in C#?
I know that I can use IVsUIShell5.GetThemedColor for VS2011, but I don't know how to get it from VS2005, VS2008 or VS2010.
Stavros asked 11/6, 2012 at 14:13
2
Solved
I'm attempting to build a visual studio extension. My project is created from the "VSIX Project" template.
According to the documentation there should be a template for a custom editor but I am no...
Durrace asked 30/1, 2016 at 22:23
2
Solved
I need my Visual Studio extension to react to debugging events. I've registered a IDebugEventCallback2 and I'm receiving events, but all I get for each event is an opaque IDebugEvent2 and a Guid, m...
Goose asked 15/6, 2015 at 19:22
1
Solved
I have a Visual Studio extension that hooks into debugging events. When the debugger stops at a line of code, my IDebugEventCallback2 callback gets called, and I can find out the filename and line ...
Rojas asked 16/6, 2015 at 12:48
2
Solved
I'm creating a VS2010 extension (let's call it MyExtension). The UI for this extension is in a different assembly (MyExtension.UI), the extension project only contains boilerplate code to call the ...
Barrick asked 7/8, 2011 at 16:55
2
I have coded something like the following:
[Attrib(typeof(MyCustomType))]
public class TargetType
{
// .....
}
I want to use EnvDTE to get a reference to the CodeElement referenced by the typeo...
Thimerosal asked 1/3, 2012 at 17:15
2
Solved
I have a VSPackage with a dockable tool window containing form data. If there are unsaved changes in this form, I would like to cancel a close to either the tool window and the visual studio IDE if...
Haddix asked 5/3, 2010 at 7:21
2
Solved
I have to enabled diagnostic mode of MSBuild project build output verbosity to see this:
1>Done executing task "EnableExtension" -- FAILED. (TaskId:81)
1>Done building target "DeployVsixExte...
Humankind asked 1/4, 2013 at 16:36
3
I use a combination of IVsFileChangeEvents and IVsFileChangeEx to monitor, whether file edited in my custom editor extension was modified outside the IDE. However, for some unknown reason, I get th...
Archilochus asked 23/5, 2014 at 9:32
1
When working on my library representing geometric objects, Debugging currently looks like this:
Here I am viewing the local variables in the Autos, Locals, Watch and Immediate windows.
As I hav...
Flacon asked 29/9, 2014 at 17:39
2
Solved
I am trying to extend Visual Studio 2010 RC to be able to use a custom programming language.
The first two things I've tried to do is a syntax highlight/Intellisense feature (easily done, thanks t...
Arcadia asked 8/4, 2010 at 23:49
3
Solved
I'm looking into adding a new programming language to visual sudio 2010 and I'm a little confused on the best approach to take.
I've looked into the MPF and found some examples on how to do syntax...
Hemato asked 30/5, 2012 at 20:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.