IVbcHostObjectFreeThreaded Interface

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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Hosting
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("ECCF972F-8C2D-4F51-9746-9288661DE2CB")> _
Public Interface IVbcHostObjectFreeThreaded
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("ECCF972F-8C2D-4F51-9746-9288661DE2CB")]
public interface IVbcHostObjectFreeThreaded
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"ECCF972F-8C2D-4F51-9746-9288661DE2CB")]
public interface class IVbcHostObjectFreeThreaded
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("ECCF972F-8C2D-4F51-9746-9288661DE2CB")>]
type IVbcHostObjectFreeThreaded =  interface end
public interface IVbcHostObjectFreeThreaded

The IVbcHostObjectFreeThreaded type exposes the following members.

Methods

  Name Description
Public method Compile Compile the source file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

See Also

Reference

Microsoft.Build.Tasks.Hosting Namespace