IVbcHostObject2 Interface

Definition

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.

public interface class IVbcHostObject2 : Microsoft::Build::Framework::ITaskHost, Microsoft::Build::Tasks::Hosting::IVbcHostObject
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("f59afc84-d102-48b1-a090-1b90c79d3e09")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVbcHostObject2 : Microsoft.Build.Framework.ITaskHost, Microsoft.Build.Tasks.Hosting.IVbcHostObject
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("f59afc84-d102-48b1-a090-1b90c79d3e09")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVbcHostObject2 = interface
    interface IVbcHostObject
    interface ITaskHost
Public Interface IVbcHostObject2
Implements ITaskHost, IVbcHostObject
Derived
Attributes
Implements

Remarks

This interface allows the Vbc task to delegate project compilation to the IDE rather than using command line compilers.

Methods

BeginInitialization()

Begins the initialization of the IVbcHostObject.

(Inherited from IVbcHostObject)
Compile()

Compiles the project.

(Inherited from IVbcHostObject)
EndInitialization()

Ends the initialization of the IVbcHostObject.

(Inherited from IVbcHostObject)
IsDesignTime()

Returns a value indicating whether the integrated development environment (IDE) is currently in design time mode.

(Inherited from IVbcHostObject)
IsUpToDate()

Returns a value indicating whether the compiled project is up-to-date.

(Inherited from IVbcHostObject)
SetAdditionalLibPaths(String[])

Specifies additional directories to search for references.

(Inherited from IVbcHostObject)
SetAddModules(String[])

Specifies one or more modules to be part of the assembly.

(Inherited from IVbcHostObject)
SetBaseAddress(String, String)

Specifies the preferred base address at which to load a DLL.

(Inherited from IVbcHostObject)
SetCodePage(Int32)

Specifies the code page to use for all source code files in the compilation.

(Inherited from IVbcHostObject)
SetDebugType(Boolean, String)

Specifies the debug type.

(Inherited from IVbcHostObject)
SetDefineConstants(String)

Specifies the preprocessor symbols to define.

(Inherited from IVbcHostObject)
SetDelaySign(Boolean)

Specifies a value indicating whether to create a fully signed assembly.

(Inherited from IVbcHostObject)
SetDisabledWarnings(String)

Specifies the list of warnings to disable.

(Inherited from IVbcHostObject)
SetDocumentationFile(String)

Specifies the XML file in which to save processed documentation comments.

(Inherited from IVbcHostObject)
SetErrorReport(String)

Specifies a value that indicates how internal compiler errors are reported to Microsoft.

(Inherited from IVbcHostObject)
SetFileAlignment(Int32)

Specifies the size of sections in the output file.

(Inherited from IVbcHostObject)
SetGenerateDocumentation(Boolean)

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.

(Inherited from IVbcHostObject)
SetImports(ITaskItem[])

Specifies the namespaces to import.

(Inherited from IVbcHostObject)
SetKeyContainer(String)

Specifies the name of the cryptographic key container.

(Inherited from IVbcHostObject)
SetKeyFile(String)

Specifies the file name containing the cryptographic key.

(Inherited from IVbcHostObject)
SetLinkResources(ITaskItem[])

Creates links to the specified .NET Framework resources in the output file; the resource files are not placed in the output file.

(Inherited from IVbcHostObject)
SetMainEntryPoint(String)

Specifies the class or module that contains the location of the Sub Main procedure.

(Inherited from IVbcHostObject)
SetModuleAssemblyName(String)

Specifies the name of the module file.

SetNoConfig(Boolean)

Specifies a value indicating whether to prevent the compiler from compiling with the vbc.rsp file.

(Inherited from IVbcHostObject)
SetNoStandardLib(Boolean)

Specifies a value indicating whether to prevent the import of mscorlib.dll.

(Inherited from IVbcHostObject)
SetNoWarnings(Boolean)

Specifies a value indicating whether the compiler suppresses all warnings.

(Inherited from IVbcHostObject)
SetOptimize(Boolean)

Specifies a value indicating whether to enable optimizations.

(Inherited from IVbcHostObject)
SetOptionCompare(String)

Specifies a value indicating how the compiler makes string comparisons.

(Inherited from IVbcHostObject)
SetOptionExplicit(Boolean)

Specifies a value indicating whether the explicit declaration of variables is required.

(Inherited from IVbcHostObject)
SetOptionInfer(Boolean)

Specifies a value indicating whether variable types must be explicitly declared.

SetOptionStrict(Boolean)

Specifies a value indicating whether the compiler enforces strict type semantics to restrict implicit type conversions.

(Inherited from IVbcHostObject)
SetOptionStrictType(String)

Specifies that the compiler should warn when strict language semantics are not respected.

(Inherited from IVbcHostObject)
SetOutputAssembly(String)

Specifies the name of the output file.

(Inherited from IVbcHostObject)
SetPlatform(String)

Specifies the processor platform to be targeted by the output file.

(Inherited from IVbcHostObject)
SetReferences(ITaskItem[])

Specifies the items from which to import public type information into the current project.

(Inherited from IVbcHostObject)
SetRemoveIntegerChecks(Boolean)

Specifies a value indicating whether to disable integer overflow error checks.

(Inherited from IVbcHostObject)
SetResources(ITaskItem[])

Specifies the .NET Framework resources to embed into the output file.

(Inherited from IVbcHostObject)
SetResponseFiles(ITaskItem[])

Specifies the response files that contain commands for the compiler.

(Inherited from IVbcHostObject)
SetRootNamespace(String)

Specifies the root namespace for all type declarations.

(Inherited from IVbcHostObject)
SetSdkPath(String)

Specifies the location of mscorlib.dll and microsoft.visualbasic.dll.

(Inherited from IVbcHostObject)
SetSources(ITaskItem[])

Specifies one or more Visual Basic source files.

(Inherited from IVbcHostObject)
SetTargetCompactFramework(Boolean)

Specifies a value indicating whether to target the .NET Compact Framework.

(Inherited from IVbcHostObject)
SetTargetType(String)

Specifies the file format of the output file.

(Inherited from IVbcHostObject)
SetTreatWarningsAsErrors(Boolean)

Specifies a value indicating whether to treat all warnings as errors.

(Inherited from IVbcHostObject)
SetWarningsAsErrors(String)

Specifies a list of warnings to treat as errors.

(Inherited from IVbcHostObject)
SetWarningsNotAsErrors(String)

Specifies a list of warnings that are not treated as errors.

(Inherited from IVbcHostObject)
SetWin32Icon(String)

Specifies an .ico file to insert into the assembly.

(Inherited from IVbcHostObject)
SetWin32Manifest(String)

Sets a Win32 manifest to use.

SetWin32Resource(String)

Specifies a Win32 resource (.res) file to insert into the output file.

(Inherited from IVbcHostObject)

Applies to