Export (0) Print
Expand All

ProjectCollection Constructor (IDictionary<String, String>, IEnumerable<ILogger>, ToolsetDefinitionLocations)

Instantiates a project collection with specified global properties and loggers and using the specified toolset locations.

Namespace:  Microsoft.Build.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public ProjectCollection(
	IDictionary<string, string> globalProperties,
	IEnumerable<ILogger> loggers,
	ToolsetDefinitionLocations toolsetDefinitionLocations
)

Parameters

globalProperties
Type: System.Collections.Generic.IDictionary<String, String>

The default global properties to use. May be null.

loggers
Type: System.Collections.Generic.IEnumerable<ILogger>

The loggers to register. May be null.

toolsetDefinitionLocations
Type: Microsoft.Build.Evaluation.ToolsetDefinitionLocations

The locations from which to load toolsets.

May throw InvalidToolsetDefinitionException.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft