IVbcHostObject2 Interface

IVbcHostObject2 Interface

 

Defines an interface that allows the Vbc task to communicate with the host integrated development environment (IDE).

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)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("f59afc84-d102-48b1-a090-1b90c79d3e09")]
public interface IVbcHostObject2 : IVbcHostObject, ITaskHost

NameDescription
System_CAPS_pubmethodBeginInitialization()

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.)

System_CAPS_pubmethodCompile()

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.)

System_CAPS_pubmethodEndInitialization()

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.)

System_CAPS_pubmethodIsDesignTime()

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.)

System_CAPS_pubmethodIsUpToDate()

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.)

System_CAPS_pubmethodSetAdditionalLibPaths(String[])

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.)

System_CAPS_pubmethodSetAddModules(String[])

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.)

System_CAPS_pubmethodSetBaseAddress(String, String)

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.)

System_CAPS_pubmethodSetCodePage(Int32)

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.)

System_CAPS_pubmethodSetDebugType(Boolean, String)

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.)

System_CAPS_pubmethodSetDefineConstants(String)

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.)

System_CAPS_pubmethodSetDelaySign(Boolean)

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.)

System_CAPS_pubmethodSetDisabledWarnings(String)

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.)

System_CAPS_pubmethodSetDocumentationFile(String)

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.)

System_CAPS_pubmethodSetErrorReport(String)

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.)

System_CAPS_pubmethodSetFileAlignment(Int32)

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.)

System_CAPS_pubmethodSetGenerateDocumentation(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.

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.)

System_CAPS_pubmethodSetImports(ITaskItem[])

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.)

System_CAPS_pubmethodSetKeyContainer(String)

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.)

System_CAPS_pubmethodSetKeyFile(String)

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.)

System_CAPS_pubmethodSetLinkResources(ITaskItem[])

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.)

System_CAPS_pubmethodSetMainEntryPoint(String)

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.)

System_CAPS_pubmethodSetModuleAssemblyName(String)

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.

System_CAPS_pubmethodSetNoConfig(Boolean)

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.)

System_CAPS_pubmethodSetNoStandardLib(Boolean)

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.)

System_CAPS_pubmethodSetNoWarnings(Boolean)

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.)

System_CAPS_pubmethodSetOptimize(Boolean)

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.)

System_CAPS_pubmethodSetOptionCompare(String)

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.)

System_CAPS_pubmethodSetOptionExplicit(Boolean)

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.)

System_CAPS_pubmethodSetOptionInfer(Boolean)

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.

System_CAPS_pubmethodSetOptionStrict(Boolean)

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.)

System_CAPS_pubmethodSetOptionStrictType(String)

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.)

System_CAPS_pubmethodSetOutputAssembly(String)

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.)

System_CAPS_pubmethodSetPlatform(String)

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.)

System_CAPS_pubmethodSetReferences(ITaskItem[])

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.)

System_CAPS_pubmethodSetRemoveIntegerChecks(Boolean)

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.)

System_CAPS_pubmethodSetResources(ITaskItem[])

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.)

System_CAPS_pubmethodSetResponseFiles(ITaskItem[])

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.)

System_CAPS_pubmethodSetRootNamespace(String)

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.)

System_CAPS_pubmethodSetSdkPath(String)

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.)

System_CAPS_pubmethodSetSources(ITaskItem[])

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.)

System_CAPS_pubmethodSetTargetCompactFramework(Boolean)

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.)

System_CAPS_pubmethodSetTargetType(String)

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.)

System_CAPS_pubmethodSetTreatWarningsAsErrors(Boolean)

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.)

System_CAPS_pubmethodSetWarningsAsErrors(String)

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.)

System_CAPS_pubmethodSetWarningsNotAsErrors(String)

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.)

System_CAPS_pubmethodSetWin32Icon(String)

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.)

System_CAPS_pubmethodSetWin32Manifest(String)

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.

System_CAPS_pubmethodSetWin32Resource(String)

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.)

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

Return to top
Show:
© 2016 Microsoft