Export (0) Print
Expand All

IVbcHostObject4 Interface

.NET Framework 4.5

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.

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

[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("2AE3233C-8AB3-48A0-9ED9-6E3545B3C566")>]
type IVbcHostObject4 =  
    interface 
        interface IVbcHostObject3 
        interface IVbcHostObject2 
        interface IVbcHostObject 
        interface ITaskHost 
    end

The IVbcHostObject4 type exposes the following members.

  NameDescription
Public methodBeginInitializationBegins the initialization of the IVbcHostObject. (Inherited from IVbcHostObject.)
Public methodCompileCompiles the project. (Inherited from IVbcHostObject.)
Public methodEndInitializationEnds the initialization of the IVbcHostObject. (Inherited from IVbcHostObject.)
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 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 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 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.
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.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft