Export (0) Print
Expand All

ManagedCompiler Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Defines the properties and methods common to managed compiler tasks.

The ManagedCompiler type exposes the following members.

  NameDescription
Protected method ManagedCompiler Infrastructure. Initializes a new instance of the ManagedCompiler class.
Top

  NameDescription
Protected method AddCommandLineCommands Infrastructure. Generates command line arguments that the command line tool must run directly from the command line and not from a response file. (Overrides ToolTaskExtension.AddCommandLineCommands(CommandLineBuilderExtension).)
Protected method AddResponseFileCommands Infrastructure. Fills the specified commandLine parameter with the switches and other information that can go into a response file. (Overrides ToolTaskExtension.AddResponseFileCommands(CommandLineBuilderExtension).)
Protected method CallHostObjectToExecute Calls the host object to perform the work of the task. (Inherited from ToolTask.)
Protected method CheckAllReferencesExistOnDisk Infrastructure. Verifies that all specified references exist on disk.
Protected method CheckHostObjectSupport Infrastructure. Logs a message if the specified parameter is not supported by the host compiler.
Protected method DeleteTempFile Deletes the specified temporary file. (Inherited from ToolTask.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Runs the exectuable file with the specified task parameters. (Inherited from ToolTask.)
Protected method ExecuteTool Creates a temporoary response (.rsp) file and runs the executable file. (Inherited from ToolTask.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GenerateCommandLineCommands Infrastructure. Gets the switches and other information that the command line tool must run directly from the command line and not from a response file. (Inherited from ToolTaskExtension.)
Protected method GenerateFullPathToTool Returns the fully qualified path to the executable file. (Inherited from ToolTask.)
Protected method GenerateResponseFileCommands Infrastructure. Gets the switch used by the command line tool to specify the response file. (Inherited from ToolTaskExtension.)
Protected method GetBoolParameterWithDefault Infrastructure. Gets the value of the specified Boolean parameter. (Inherited from ToolTaskExtension.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetIntParameterWithDefault Infrastructure. Gets the value of the specified integer parameter. (Inherited from ToolTaskExtension.)
Protected method GetResponseFileSwitch Returns the command line switch used by the executable file to specifiy a response (.rsp) file. (Inherited from ToolTask.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method GetWorkingDirectory Returns the directory in which to run the executable file. (Inherited from ToolTask.)
Protected method HandleTaskExecutionErrors Infrastructure. Handles the return code from the compiler. (Overrides ToolTask.HandleTaskExecutionErrors().)
Protected method InitializeHostObject Initializes the host object of the task. (Inherited from ToolTask.)
Protected method ListHasNoDuplicateItems Infrastructure. Determines if any duplicate items exist in the specified task parameter.
Protected method LogEventsFromTextOutput Parses a single line of text to identify any errors or warnings in canonical format. (Inherited from ToolTask.)
Protected method LogPathToTool Logs the tool name and path to all registered loggers. (Inherited from ToolTask.)
Protected method LogToolCommand Logs the starting point of the run to all registered loggers. (Inherited from ToolTask.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method SkipTaskExecution Indicates whether task execution should be skipped. (Inherited from ToolTask.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UseAlternateCommandLineToolToExecute Infrastructure. If an alternate tool name or tool path was specified in the project file, then that tool is used rather than the host compiler for integrated development environment (IDE) builds.
Protected method ValidateParameters Infrastructure. Validates the task parameters. (Overrides ToolTask.ValidateParameters().)
Top

  NameDescription
Public property AdditionalLibPaths Infrastructure. Gets or sets the additional folders in which to look for assemblies.
Public property AddModules Infrastructure. Gets or sets the modules for the compiler to make available to the project you are currently compiling.
Protected property Bag Infrastructure. Gets the collection of parameters used by the derived task class. (Inherited from ToolTaskExtension.)
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public property BuildEngine2 Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public property CodePage Infrastructure. Gets or sets the code page to use for all source code files in the compilation.
Public property DebugType Infrastructure. Gets or sets the debug type.
Public property DefineConstants Infrastructure. Gets or sets the conditional compiler constants.
Public property DelaySign Infrastructure. Gets or sets a value indicating whether the public key is placed in the assembly.
Public property EmitDebugInformation Infrastructure. Gets or sets a value indicating whether the compiler generates debugging information.
Protected property EnvironmentOverride Gets a set of environment variable name-value pairs. Designed to be overridden in a custom task class (derived from ToolTask) to return a set of new or altered environment variables to create the execution context of the associated tool. (Inherited from ToolTask.)
Public property ExitCode Gets the returned exit code of the executable file. (Inherited from ToolTask.)
Public property FileAlignment Infrastructure. Gets or sets a value indicating where to align the sections of the output file.
Protected property HasLoggedErrors Infrastructure. Returns whether this ToolTask has logged any errors. (Inherited from ToolTaskExtension.)
Protected property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Protected property HostCompilerSupportsAllParameters Infrastructure. Gets or sets a value indicating wheter the host compilter supports all task parameters.
Public property HostObject Gets or sets the host object associated with the task. (Inherited from Task.)
Public property KeyContainer Infrastructure. Gets or sets the name of the cryptographic key container.
Public property KeyFile Infrastructure. Gets or sets the file name containing the cryptographic key.
Public property LinkResources Infrastructure. Gets or sets the .NET Framework resource files to link to the output file.
Public property Log Gets an instance of a TaskLoggingHelperExtension class containing task logging methods. (Inherited from ToolTaskExtension.)
Public property MainEntryPoint Infrastructure. Gets or sets the class or module that contains the main entry point.
Public property NoConfig Infrastructure. Gets or sets a value indicating whether the compiler should use the default response file.
Public property NoLogo Infrastructure. Gets or sets a value indicating whether to suppress the compiler banner information.
Public property NoWin32Manifest Infrastructure. Gets or sets a Boolean value that specifies whether an external UAC manifest is generated for the application.
Public property Optimize Infrastructure. Gets or sets a value indicating whether to enable compiler optimizations.
Public property OutputAssembly Infrastructure. Gets or sets the name of the output file.
Public property References Infrastructure. Gets or sets the items from which the compiler will import public type information.
Public property Resources Infrastructure. Gets or sets the .NET Framework resources to embed in the output file.
Protected property ResponseFileEncoding Gets the Encoding of the response file. (Inherited from ToolTask.)
Public property ResponseFiles Infrastructure. Gets or sets the response files that contain commands for the task.
Public property Sources Infrastructure. Gets or sets the source files to compile.
Protected property StandardErrorEncoding Gets the Encoding of the standard error stream of the task. (Inherited from ToolTask.)
Public property StandardErrorImportance (Inherited from ToolTask.)
Protected property StandardErrorLoggingImportance Gets the MessageImportance with which to log errors. (Inherited from ToolTask.)
Protected property StandardOutputEncoding Infrastructure. Gets or sets the encoding of the captured task standard output stream. (Overrides ToolTask.StandardOutputEncoding.)
Public property StandardOutputImportance (Inherited from ToolTask.)
Protected property StandardOutputLoggingImportance Gets the MessageImportance with which to log errors. (Inherited from ToolTask.)
Public property TargetType Infrastructure. Gets or sets the file format of the output file.
Protected property TaskResources Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)
Public property Timeout Gets or sets the amount of time after which the task executable is terminated. (Inherited from ToolTask.)
Public property ToolExe (Inherited from ToolTask.)
Protected property ToolName Gets the name of the executable file to run. (Inherited from ToolTask.)
Public property ToolPath Gets or sets the path of the executable file to run. (Inherited from ToolTask.)
Public property TreatWarningsAsErrors Infrastructure. Gets or sets a value indicating whether warnings are treated as errors.
Public property Utf8Output Infrastructure. Gets or sets a value indicating whether compiler output is logged using UTF-8 encoding.
Public property Win32Icon Infrastructure. Gets or sets the icon file name.
Public property Win32Manifest Infrastructure. Gets or sets the Win32 manifest.
Public property Win32Resource Infrastructure. Gets or sets a Win32 resource (.res) file to insert in the output file.
Top

Community Additions

ADD
Show:
© 2015 Microsoft