次の方法で共有


ProjectCollection.GlobalProjectCollection Property

Definition

Retrieves the global project collection object. This is a singleton project collection with no global properties or loggers that reads toolset information from the configuration file and registry. May throw InvalidToolsetDefinitionException. Thread safe.

public:
 static property Microsoft::Build::Evaluation::ProjectCollection ^ GlobalProjectCollection { Microsoft::Build::Evaluation::ProjectCollection ^ get(); };
public static Microsoft.Build.Evaluation.ProjectCollection GlobalProjectCollection { get; }
static member GlobalProjectCollection : Microsoft.Build.Evaluation.ProjectCollection
Public Shared ReadOnly Property GlobalProjectCollection As ProjectCollection

Property Value

The global project collection object. This is a singleton project collection with no global properties or loggers. Toolset information is obtained from the configuration file and registry.

Remarks

Thread safe.

Applies to