MSBuildProjectSetConfiguration Method
This is used to set the active configuration and platform used when
evaluating the properties.
Namespace: SandcastleBuilder.Utils.MSBuildAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public void SetConfiguration(
string configuration,
string platform,
string outDir,
bool usesProjectSpecificOutput
)
Public Sub SetConfiguration (
configuration As String,
platform As String,
outDir As String,
usesProjectSpecificOutput As Boolean
)
public:
void SetConfiguration(
String^ configuration,
String^ platform,
String^ outDir,
bool usesProjectSpecificOutput
)
member SetConfiguration :
configuration : string *
platform : string *
outDir : string *
usesProjectSpecificOutput : bool -> unit
Parameters
- configuration String
- The active configuration
- platform String
- The active platform
- outDir String
- The output directory
- usesProjectSpecificOutput Boolean
- True if the build is using project-specific output folders,
false if not.
If the platform is set to any variation of "Any CPU" and it isn't found in the project, it
will be converted to "AnyCPU" (no space). This works around an issue with Team Build that includes
the space even though it should not be present.