Visual Studio 2013
Gets the project configuration to be built.
Assembly: EnvDTE (in EnvDTE.dll)
Sub ConfigurationNameExample() ' Before running, load a project. ' Set references to all necessary objects. Dim CM As ConfigurationManager = _ DTE.Solution.Projects.Item(1).ConfigurationManager ' List the configuration name used for the current project. MsgBox(CM.Item(2).ConfigurationName) End Sub
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.