ExternalProjectsProvider Class

Definition

Enable providing access to external [potentially remote] ProjectCollection.

public ref class ExternalProjectsProvider abstract
public abstract class ExternalProjectsProvider
type ExternalProjectsProvider = class
Public MustInherit Class ExternalProjectsProvider
Inheritance
ExternalProjectsProvider

Constructors

ExternalProjectsProvider()

Methods

Disconnected(ProjectCollection)

Called when External provider is "disconnected" from the local collection - aka it will be no longer used to extend the projects list. This is triggered by either project collection disposing or when another call to SetExternalProjectsProvider is invoked. The purpose of this call is to allow the external provider release any associate data (caches/connections etc).

GetLoadedProjects(String)

Provide the list of remote projects (projects in the remote collection) Note all returned objects will be local "linked" Project object proxies.

SetExternalProjectsProvider(ProjectCollection, ExternalProjectsProvider)

Attach an external project provider to a msbuild ProjectCollection.

Note at any time there could be only one ExternalProvider attached.

Can be called with link == null, in which case it will "clear" the external provider on the target collection

Applies to