UtilVisualStudioIDECurrentVisualStudioInstance Property

Gets a DTE2 object that represents the current Visual Studio instance that is running this project.

Definition

Namespace: DevCase.Core.Diagnostics.VisualStudio.IDE
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static DTE2 CurrentVisualStudioInstance { get; }

Property Value

DTE2
A DTE2 object that represents the current Visual Studio instance that is running this project.

Remarks

Note: To use this functionality you need to install this nuget package:

Microsoft.VisualStudio.Setup.Configuration.Interop

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also