VisualStudioDTEVersions

Use the following constants with the DotNetAdapter.VisualStudioDTEVersionForEditing , DotNetAdapter.VisualStudioDTEVersionForDebugging , DllAdapter.VisualStudioDTEVersionForEditing , and DllAdapter.VisualStudioDTEVersionForDebugging properties.

  • VisualStudioDTEVersion_2022 –(Value: "VisualStudio.DTE.17.0") The adapter uses the Microsoft Visual Studio 2022 DTE, if installed. If only one version of the DTE is installed, the adapter ignores this value and always uses the installed version. If the Visual Studio 2022 DTE is not installed, but more than one version of the DTE is installed, the adapter prompts the user to select which version to use.
  • VisualStudioDTEVersion_AlwaysPrompt –(Value: "AlwaysPrompt") Prompt for each operation to select a version of the Visual Studio DTE. If only one version of the DTE is installed, the adapter does not prompt and instead uses the installed version.
  • VisualStudioDTEVersion_MatchProject –(Value: "MatchProject") Use the Visual Studio DTE version that corresponds to the project file the step specifies. If only one version of the DTE is installed, the adapter ignores this value and always uses the installed version. If the version of the DTE that corresponds to the project file is not installed, but more than one version of the DTE is installed, the adapter prompts the user to select which version to use. This option applies only to the DotNetAdapter.VisualStudioDTEVersionForEditing and DllAdapter.VisualStudioDTEVersionForEditing properties.

See Also

DllAdapter.VisualStudioDTEVersionForDebugging

DllAdapter.VisualStudioDTEVersionForEditing

DotNetAdapter.VisualStudioDTEVersionForDebugging

DotNetAdapter.VisualStudioDTEVersionForEditing