IVbcHostObject5 Interface

.NET Framework 4.5

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

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("5ACF41FF-6F2B-4623-8146-740C89212B21")]
public interface IVbcHostObject5 : IVbcHostObject4, 
	IVbcHostObject3, IVbcHostObject2, IVbcHostObject, ITaskHost

The IVbcHostObject5 type exposes the following members.

  NameDescription
Public methodBeginInitializationBegins the initialization of the IVbcHostObject. (Inherited from IVbcHostObject.)
Public methodCompileCompiles the project. (Inherited from IVbcHostObject.)
Public methodCompileAsyncThis code is called only on the UI thread and kicks off the actual build with VB.
Public methodEndCompilePerforms functions at the end of compilation.
Public methodEndInitializationEnds the initialization of the IVbcHostObject. (Inherited from IVbcHostObject.)
Public methodGetFreeThreadedHostObjectGets a free-threaded host object that allows for background threads to call directly. Avoids marshaling to the UI thread.
Public methodIsDesignTimeReturns a value indicating whether the integrated development environment (IDE) is currently in design time mode. (Inherited from IVbcHostObject.)
Public methodIsUpToDateReturns a value indicating whether the compiled project is up-to-date. (Inherited from IVbcHostObject.)
Public methodSetAdditionalLibPathsSpecifies additional directories to search for references. (Inherited from IVbcHostObject.)
Public methodSetAddModulesSpecifies one or more modules to be part of the assembly. (Inherited from IVbcHostObject.)
Public methodSetBaseAddressSpecifies the preferred base address at which to load a DLL. (Inherited from IVbcHostObject.)
Public methodSetCodePageSpecifies the code page to use for all source code files in the compilation. (Inherited from IVbcHostObject.)
Public methodSetDebugTypeSpecifies the debug type. (Inherited from IVbcHostObject.)
Public methodSetDefineConstantsSpecifies the preprocessor symbols to define. (Inherited from IVbcHostObject.)
Public methodSetDelaySignSpecifies a value indicating whether to create a fully signed assembly. (Inherited from IVbcHostObject.)
Public methodSetDisabledWarningsSpecifies the list of warnings to disable. (Inherited from IVbcHostObject.)
Public methodSetDocumentationFileSpecifies the XML file in which to save processed documentation comments. (Inherited from IVbcHostObject.)
Public methodSetErrorReportSpecifies a value that indicates how internal compiler errors are reported to Microsoft. (Inherited from IVbcHostObject.)
Public methodSetFileAlignmentSpecifies the size of sections in the output file. (Inherited from IVbcHostObject.)
Public methodSetGenerateDocumentationSpecifies 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. (Inherited from IVbcHostObject.)
Public methodSetHighEntropyVASets the /highentropyva value as specified.
Public methodSetImportsSpecifies the namespaces to import. (Inherited from IVbcHostObject.)
Public methodSetKeyContainerSpecifies the name of the cryptographic key container. (Inherited from IVbcHostObject.)
Public methodSetKeyFileSpecifies the file name containing the cryptographic key. (Inherited from IVbcHostObject.)
Public methodSetLanguageVersionSets the language version. (Inherited from IVbcHostObject3.)
Public methodSetLinkResourcesCreates links to the specified .NET Framework resources in the output file; the resource files are not placed in the output file. (Inherited from IVbcHostObject.)
Public methodSetMainEntryPointSpecifies the class or module that contains the location of the Sub Main procedure. (Inherited from IVbcHostObject.)
Public methodSetModuleAssemblyNameSpecifies the name of the module file. (Inherited from IVbcHostObject2.)
Public methodSetNoConfigSpecifies a value indicating whether to prevent the compiler from compiling with the vbc.rsp file. (Inherited from IVbcHostObject.)
Public methodSetNoStandardLibSpecifies a value indicating whether to prevent the import of mscorlib.dll. (Inherited from IVbcHostObject.)
Public methodSetNoWarningsSpecifies a value indicating whether the compiler supresses all warnings. (Inherited from IVbcHostObject.)
Public methodSetOptimizeSpecifies a value indicating whether to enable optimizations. (Inherited from IVbcHostObject.)
Public methodSetOptionCompareSpecifies a value indicating how the compiler makes string comparisons. (Inherited from IVbcHostObject.)
Public methodSetOptionExplicitSpecifies a value indicating whether the explicit declaration of variables is required. (Inherited from IVbcHostObject.)
Public methodSetOptionInferSpecifies a value indicating whether variable types must be explicitly declared. (Inherited from IVbcHostObject2.)
Public methodSetOptionStrictSpecifies a value indicating whether the compiler enforces strict type semantics to restrict implicit type conversions. (Inherited from IVbcHostObject.)
Public methodSetOptionStrictTypeSpecifies that the compiler should warn when strict language semantics are not respected. (Inherited from IVbcHostObject.)
Public methodSetOutputAssemblySpecifies the name of the output file. (Inherited from IVbcHostObject.)
Public methodSetPlatformSpecifies the processor platform to be targeted by the output file. (Inherited from IVbcHostObject.)
Public methodSetPlatformWith32BitPreferenceSets the /platform value to AnyCPU32BitPreferred.
Public methodSetReferencesSpecifies the items from which to import public type information into the current project. (Inherited from IVbcHostObject.)
Public methodSetRemoveIntegerChecksSpecifies a value indicating whether to disable integer overflow error checks. (Inherited from IVbcHostObject.)
Public methodSetResourcesSpecifies the .NET Framework resources to embed into the output file. (Inherited from IVbcHostObject.)
Public methodSetResponseFilesSpecifies the response files that contain commands for the compiler. (Inherited from IVbcHostObject.)
Public methodSetRootNamespaceSpecifies the root namespace for all type declarations. (Inherited from IVbcHostObject.)
Public methodSetSdkPathSpecifies the location of mscorlib.dll and microsoft.visualbasic.dll. (Inherited from IVbcHostObject.)
Public methodSetSourcesSpecifies one or more Visual Basic source files. (Inherited from IVbcHostObject.)
Public methodSetSubsystemVersionSets the subsystem version as specified.
Public methodSetTargetCompactFrameworkSpecifies a value indicating whether to target the .NET Compact Framework. (Inherited from IVbcHostObject.)
Public methodSetTargetTypeSpecifies the file format of the output file. (Inherited from IVbcHostObject.)
Public methodSetTreatWarningsAsErrorsSpecifies a value indicating whether to treat all warnings as errors. (Inherited from IVbcHostObject.)
Public methodSetVBRuntimeDefines 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. (Inherited from IVbcHostObject4.)
Public methodSetWarningsAsErrorsSpecifies a list of warnings to treat as errors. (Inherited from IVbcHostObject.)
Public methodSetWarningsNotAsErrorsSpecifies a list of warnings that are not treated as errors. (Inherited from IVbcHostObject.)
Public methodSetWin32IconSpecifies an .ico file to insert into the assembly. (Inherited from IVbcHostObject.)
Public methodSetWin32ManifestSets a Win32 manifest to use. (Inherited from IVbcHostObject2.)
Public methodSetWin32ResourceSpecifies a Win32 resource (.res) file to insert into the output file. (Inherited from IVbcHostObject.)
Top

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft