Share via


IVbcHostObject5 Interface

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

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("5ACF41FF-6F2B-4623-8146-740C89212B21")> _
Public Interface IVbcHostObject5 _
    Inherits IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject,  _
    ITaskHost
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("5ACF41FF-6F2B-4623-8146-740C89212B21")]
public interface IVbcHostObject5 : IVbcHostObject4, 
    IVbcHostObject3, IVbcHostObject2, IVbcHostObject, ITaskHost
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"5ACF41FF-6F2B-4623-8146-740C89212B21")]
public interface class IVbcHostObject5 : IVbcHostObject4, 
    IVbcHostObject3, IVbcHostObject2, IVbcHostObject, ITaskHost
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("5ACF41FF-6F2B-4623-8146-740C89212B21")>]
type IVbcHostObject5 =  
    interface 
        interface IVbcHostObject4 
        interface IVbcHostObject3 
        interface IVbcHostObject2 
        interface IVbcHostObject 
        interface ITaskHost 
    end
public interface IVbcHostObject5 extends IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, ITaskHost

The IVbcHostObject5 type exposes the following members.

Methods

  Name Description
Public method BeginInitialization Begins the initialization of the IVbcHostObject.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. (Inherited from IVbcHostObject.)
Public method Compile Compiles the project.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. (Inherited from IVbcHostObject.)
Public method CompileAsync This code is called only on the UI thread and kicks off the actual build with VB. 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.
Public method EndCompile Performs functions at the end of compilation.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.
Public method EndInitialization Ends the initialization of the IVbcHostObject.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. (Inherited from IVbcHostObject.)
Public method GetFreeThreadedHostObject Gets a free-threaded host object that allows for background threads to call directly. Avoids marshaling to the UI thread.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.
Public method IsDesignTime Returns a value indicating whether the integrated development environment (IDE) is currently in design time mode.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. (Inherited from IVbcHostObject.)
Public method IsUpToDate Returns a value indicating whether the compiled project is up-to-date.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. (Inherited from IVbcHostObject.)
Public method SetAdditionalLibPaths Specifies additional directories to search for references.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. (Inherited from IVbcHostObject.)
Public method SetAddModules Specifies one or more modules to be part of the assembly.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. (Inherited from IVbcHostObject.)
Public method SetBaseAddress Specifies the preferred base address at which to load a DLL.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. (Inherited from IVbcHostObject.)
Public method SetCodePage Specifies the code page to use for all source code files in the compilation.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. (Inherited from IVbcHostObject.)
Public method SetDebugType Specifies the debug type.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. (Inherited from IVbcHostObject.)
Public method SetDefineConstants Specifies the preprocessor symbols to define.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. (Inherited from IVbcHostObject.)
Public method SetDelaySign Specifies a value indicating whether to create a fully signed assembly.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. (Inherited from IVbcHostObject.)
Public method SetDisabledWarnings Specifies the list of warnings to disable.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. (Inherited from IVbcHostObject.)
Public method SetDocumentationFile Specifies the XML file in which to save processed documentation comments.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. (Inherited from IVbcHostObject.)
Public method SetErrorReport Specifies a value that indicates how internal compiler errors are reported to Microsoft.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. (Inherited from IVbcHostObject.)
Public method SetFileAlignment Specifies the size of sections in the output 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. (Inherited from IVbcHostObject.)
Public method SetGenerateDocumentation Specifies a value indicating whether to generate documentation and place it in an XML file with the name of the executable file or library that the compiler is creating.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. (Inherited from IVbcHostObject.)
Public method SetHighEntropyVA Sets the /highentropyva value as specified.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.
Public method SetImports Specifies the namespaces to import.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. (Inherited from IVbcHostObject.)
Public method SetKeyContainer Specifies the name of the cryptographic key container.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. (Inherited from IVbcHostObject.)
Public method SetKeyFile Specifies the file name containing the cryptographic key.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. (Inherited from IVbcHostObject.)
Public method SetLanguageVersion Sets the language version.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. (Inherited from IVbcHostObject3.)
Public method SetLinkResources Creates links to the specified .NET Framework resources in the output file; the resource files are not placed in the output 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. (Inherited from IVbcHostObject.)
Public method SetMainEntryPoint Specifies the class or module that contains the location of the Sub Main procedure.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. (Inherited from IVbcHostObject.)
Public method SetModuleAssemblyName Specifies the name of the module 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. (Inherited from IVbcHostObject2.)
Public method SetNoConfig Specifies a value indicating whether to prevent the compiler from compiling with the vbc.rsp 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. (Inherited from IVbcHostObject.)
Public method SetNoStandardLib Specifies a value indicating whether to prevent the import of mscorlib.dll.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. (Inherited from IVbcHostObject.)
Public method SetNoWarnings Specifies a value indicating whether the compiler supresses all warnings.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. (Inherited from IVbcHostObject.)
Public method SetOptimize Specifies a value indicating whether to enable optimizations.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. (Inherited from IVbcHostObject.)
Public method SetOptionCompare Specifies a value indicating how the compiler makes string comparisons.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. (Inherited from IVbcHostObject.)
Public method SetOptionExplicit Specifies a value indicating whether the explicit declaration of variables is required.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. (Inherited from IVbcHostObject.)
Public method SetOptionInfer Specifies a value indicating whether variable types must be explicitly declared.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. (Inherited from IVbcHostObject2.)
Public method SetOptionStrict Specifies a value indicating whether the compiler enforces strict type semantics to restrict implicit type conversions.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. (Inherited from IVbcHostObject.)
Public method SetOptionStrictType Specifies that the compiler should warn when strict language semantics are not respected.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. (Inherited from IVbcHostObject.)
Public method SetOutputAssembly Specifies the name of the output 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. (Inherited from IVbcHostObject.)
Public method SetPlatform Specifies the processor platform to be targeted by the output 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. (Inherited from IVbcHostObject.)
Public method SetPlatformWith32BitPreference Sets the /platform value to AnyCPU32BitPreferred.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.
Public method SetReferences Specifies the items from which to import public type information into the current project.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. (Inherited from IVbcHostObject.)
Public method SetRemoveIntegerChecks Specifies a value indicating whether to disable integer overflow error checks.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. (Inherited from IVbcHostObject.)
Public method SetResources Specifies the .NET Framework resources to embed into the output 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. (Inherited from IVbcHostObject.)
Public method SetResponseFiles Specifies the response files that contain commands for the compiler.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. (Inherited from IVbcHostObject.)
Public method SetRootNamespace Specifies the root namespace for all type declarations.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. (Inherited from IVbcHostObject.)
Public method SetSdkPath Specifies the location of mscorlib.dll and microsoft.visualbasic.dll.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. (Inherited from IVbcHostObject.)
Public method SetSources Specifies one or more Visual Basic source files.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. (Inherited from IVbcHostObject.)
Public method SetSubsystemVersion Sets the subsystem version as specified.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.
Public method SetTargetCompactFramework Specifies a value indicating whether to target the .NET Compact Framework.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. (Inherited from IVbcHostObject.)
Public method SetTargetType Specifies the file format of the output 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. (Inherited from IVbcHostObject.)
Public method SetTreatWarningsAsErrors Specifies a value indicating whether to treat all warnings as errors.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. (Inherited from IVbcHostObject.)
Public method SetVBRuntime 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 compiler.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. (Inherited from IVbcHostObject4.)
Public method SetWarningsAsErrors Specifies a list of warnings to treat as errors.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. (Inherited from IVbcHostObject.)
Public method SetWarningsNotAsErrors Specifies a list of warnings that are not treated as errors.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. (Inherited from IVbcHostObject.)
Public method SetWin32Icon Specifies an .ico file to insert into the assembly.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. (Inherited from IVbcHostObject.)
Public method SetWin32Manifest Sets a Win32 manifest to use.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. (Inherited from IVbcHostObject2.)
Public method SetWin32Resource Specifies a Win32 resource (.res) file to insert into the output 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. (Inherited from IVbcHostObject.)

Top

See Also

Reference

Microsoft.Build.Tasks.Hosting Namespace