共用方式為


Microsoft.Build.Tasks.Hosting Namespace

Contains classes used internally by MSBuild.

Interfaces

IAnalyzerHostObject

Defines an interface for the Vbc/Csc tasks to communicate information about analyzers and rulesets to the IDE.

ICscHostObject

Defines an interface for the Csc task to communicate with the IDE. In particular, the Csc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

ICscHostObject2

Defines an interface for the Csc task to communicate with the IDE. In particular, the Csc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

ICscHostObject3

Defines an interface for the Csc task to communicate with the IDE. In particular, the Csc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

ICscHostObject4

Defines an interface for the Csc task to communicate with the IDE. In particular, the Csc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

IVbcHostObject

Defines an interface for the Vbc task to communicate with the IDE. In particular, the Vbc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

IVbcHostObject2

Defines an interface for the Vbc task to communicate with the IDE. In particular, the Vbc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

IVbcHostObject3

Defines an interface for the Vbc task to communicate with the IDE. In particular, the Vbc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

IVbcHostObject4

Defines an interface for the Vbc task to communicate with the IDE. In particular, the Vbc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers.

IVbcHostObject5

Defines an interface that proffers a free threaded host object that allows for background threads to call directly (avoids marshalling to the UI thread.

IVbcHostObjectFreeThreaded

Defines a free threaded interface for the Vbc task to communicate with the IDE. In particular, the Vbc task will delegate the actual compilation to the IDE, rather than shelling out to the command-line compilers. This particular version of Compile (unlike the IVbcHostObject::Compile) is not marshalled back to the UI thread. The implementor of the interface is responsible for any marshalling. This was added to allow some of the implementors code to run on the BG thread from which VBC Task is being called from.