IVbcHostObject 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 IVbcHostObject : Microsoft::Build::Framework::ITaskHost
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("7D7AC3BE-253A-40e8-A3FF-357D0DA7C47A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVbcHostObject : Microsoft.Build.Framework.ITaskHost
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("7D7AC3BE-253A-40e8-A3FF-357D0DA7C47A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVbcHostObject = interface
    interface ITaskHost
Public Interface IVbcHostObject
Implements ITaskHost
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.

Compile()

Compiles the project.

EndInitialization()

Ends the initialization of the IVbcHostObject.

IsDesignTime()

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

IsUpToDate()

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

SetAdditionalLibPaths(String[])

Specifies additional directories to search for references.

SetAddModules(String[])

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

SetBaseAddress(String, String)

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

SetCodePage(Int32)

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

SetDebugType(Boolean, String)

Specifies the debug type.

SetDefineConstants(String)

Specifies the preprocessor symbols to define.

SetDelaySign(Boolean)

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

SetDisabledWarnings(String)

Specifies the list of warnings to disable.

SetDocumentationFile(String)

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

SetErrorReport(String)

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

SetFileAlignment(Int32)

Specifies the size of sections in the output file.

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.

SetImports(ITaskItem[])

Specifies the namespaces to import.

SetKeyContainer(String)

Specifies the name of the cryptographic key container.

SetKeyFile(String)

Specifies the file name containing the cryptographic key.

SetLinkResources(ITaskItem[])

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

SetMainEntryPoint(String)

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

SetNoConfig(Boolean)

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

SetNoStandardLib(Boolean)

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

SetNoWarnings(Boolean)

Specifies a value indicating whether the compiler suppresses all warnings.

SetOptimize(Boolean)

Specifies a value indicating whether to enable optimizations.

SetOptionCompare(String)

Specifies a value indicating how the compiler makes string comparisons.

SetOptionExplicit(Boolean)

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

SetOptionStrict(Boolean)

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

SetOptionStrictType(String)

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

SetOutputAssembly(String)

Specifies the name of the output file.

SetPlatform(String)

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

SetReferences(ITaskItem[])

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

SetRemoveIntegerChecks(Boolean)

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

SetResources(ITaskItem[])

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

SetResponseFiles(ITaskItem[])

Specifies the response files that contain commands for the compiler.

SetRootNamespace(String)

Specifies the root namespace for all type declarations.

SetSdkPath(String)

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

SetSources(ITaskItem[])

Specifies one or more Visual Basic source files.

SetTargetCompactFramework(Boolean)

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

SetTargetType(String)

Specifies the file format of the output file.

SetTreatWarningsAsErrors(Boolean)

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

SetWarningsAsErrors(String)

Specifies a list of warnings to treat as errors.

SetWarningsNotAsErrors(String)

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

SetWin32Icon(String)

Specifies an .ico file to insert into the assembly.

SetWin32Resource(String)

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

Applies to