This documentation is archived and is not being maintained.
ICscHostObject Interface
Visual Studio 2010
Defines an interface that allows the Csc task to communicate with the host integrated development environment (IDE).
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The ICscHostObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BeginInitialization | Begins the initialization of the ICscHostObject. |
![]() | Compile | Compiles the project. |
![]() | EndInitialization | Ends the initialization of the ICscHostObject with the specified error message and code. |
![]() | 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 | Specifies additional directories to search for references. |
![]() | SetAddModules | Specifies one or more modules to be part of the assembly. |
![]() | SetAllowUnsafeBlocks | Specifies a value indicating whether to allow code that uses the unsafe keyword to compile. |
![]() | SetBaseAddress | Specifies the preferred base address at which to load a DLL. |
![]() | SetCheckForOverflowUnderflow | Specifies a value indicating whether integer arithmetic that overflows the bounds of the data type causes an exception at run time. |
![]() | SetCodePage | Specifies the code page to use for all source code files in the compilation. |
![]() | SetDebugType | Specifies the debug type. |
![]() | SetDefineConstants | Specifies the preprocessor symbols to define. |
![]() | SetDelaySign | Specifies a value indicating whether to create a fully signed assembly. |
![]() | SetDisabledWarnings | Specifies the list of warnings to disable. |
![]() | SetDocumentationFile | Specifies the XML file in which to save processed documentation comments. |
![]() | SetEmitDebugInformation | Specifies a value indicating whether to generate debugging information and place it in a program database (.pdb) file. |
![]() | SetErrorReport | Specifies a value that indicates how internal compiler errors are reported to Microsoft. |
![]() | SetFileAlignment | Specifies the size of sections in the output file. |
![]() | SetGenerateFullPaths | Specifies a value indicating whether to specify the absolute path to the file in the compiler output. |
![]() | SetKeyContainer | Specifies the name of the cryptographic key container. |
![]() | SetKeyFile | Specifies the file name containing the cryptographic key. |
![]() | SetLangVersion | Specifies the version of the language to use. |
![]() | SetLinkResources | Creates links to the specified .NET Framework resources in the output file; the resource files are not placed in the output file. |
![]() | SetMainEntryPoint | Specifies the location of the Main method. |
![]() | SetModuleAssemblyName | Specifies an assembly whose non-public types a .netmodule can access. |
![]() | SetNoConfig | Specifies a value indicating whether to prevent the compiler from compiling with the csc.rsp file. |
![]() | SetNoStandardLib | Specifies a value indicating whether to prevent the import of mscorlib.dll. |
![]() | SetOptimize | Specifies a value indicating whether to enable optimizations. |
![]() | SetOutputAssembly | Specifies the name of the output file. |
![]() | SetPdbFile | Specifies the program database (.pdb) file in which to place generated debugging information. |
![]() | SetPlatform | Specifies the processor platform to be targeted by the output file. |
![]() | SetReferences | Specifies the items from which to import public type information into the current project. |
![]() | SetResources | Specifies the .NET Framework resources to embed into the output file. |
![]() | SetResponseFiles | Specifies the response files that contain commands for the compiler. |
![]() | SetSources | Specifies one or more Visual C# source files. |
![]() | SetTargetType | Specifies the file format of the output file. |
![]() | SetTreatWarningsAsErrors | Specifies a value indicating whether to treat all warnings as errors. |
![]() | SetWarningLevel | Specifies the warning level, from 0-4. |
![]() | SetWarningsAsErrors | Specifies a list of warnings to treat as errors. |
![]() | SetWarningsNotAsErrors | Specifies a list of warnings that are not treated as errors. |
![]() | SetWin32Icon | Specifies an .ico file to insert into the assembly. |
![]() | SetWin32Resource | Specifies a Win32 resource (.res) file to insert into the output file. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
