GenerateTemporaryTargetAssembly Classe
Definição
Implementa a tarefa GenerateTemporaryTargetAssembly.Implements the GenerateTemporaryTargetAssembly task. Usa o elemento GenerateTemporaryTargetAssembly em seu arquivo de projeto para criar e executar essa tarefa.Use the GenerateTemporaryTargetAssembly element in your project file to create and execute this task. Para obter informações sobre uso e parâmetro, consulte GenerateTemporaryTargetAssembly.For usage and parameter information, see GenerateTemporaryTargetAssembly.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public ref class GenerateTemporaryTargetAssembly sealed : Microsoft::Build::Utilities::Task
public sealed class GenerateTemporaryTargetAssembly : Microsoft.Build.Utilities.Task
type GenerateTemporaryTargetAssembly = class
inherit Task
Public NotInheritable Class GenerateTemporaryTargetAssembly
Inherits Task
- Herança
Construtores
| GenerateTemporaryTargetAssembly() |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Inicializa uma nova instância da classe GenerateTemporaryTargetAssembly.Initializes a new instance of the GenerateTemporaryTargetAssembly class. |
Propriedades
| AssemblyName |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o nome curto do assembly que é gerado para um projeto e que também é o nome do assembly de destino que é gerado temporariamente.Gets or sets the short name of the assembly that is generated for a project and is also the name of the target assembly that is temporarily generated. |
| BuildEngine |
O mecanismo de build define automaticamente essa propriedade para permitir que tarefas retornem para ela.The build engine automatically sets this property to allow tasks to call back into it. (Herdado de Task) |
| BuildEngine2 |
O mecanismo de build define automaticamente essa propriedade para permitir que tarefas retornem para ela.The build engine automatically sets this property to allow tasks to call back into it. Esta é uma propriedade de conveniência para que os autores de tarefa que herdam desta classe não precisem converter o valor de IBuildEngine em IBuildEngine2.This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2. (Herdado de Task) |
| BuildEngine3 |
Recupera a versão IBuildEngine3 da interface do mecanismo de build fornecida pelo host.Retrieves the IBuildEngine3 version of the build engine interface provided by the host. (Herdado de Task) |
| BuildEngine4 |
Recupera a versão IBuildEngine4 da interface do mecanismo de build fornecida pelo host.Retrieves the IBuildEngine4 version of the build engine interface provided by the host. (Herdado de Task) |
| BuildEngine5 |
Recupera a versão IBuildEngine5 da interface do mecanismo de build fornecida pelo host.Retrieves the IBuildEngine5 version of the build engine interface provided by the host. (Herdado de Task) |
| BuildEngine6 |
Recupera a versão IBuildEngine6 da interface do mecanismo de build fornecida pelo host.Retrieves the IBuildEngine6 version of the build engine interface provided by the host. (Herdado de Task) |
| BuildEngine7 |
Obtém a versão da interface do mecanismo de build fornecida pelo host.Gets the version of the build engine interface provided by the host. (Herdado de Task) |
| CompileTargetName |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o nome de destino do MSBuild que é usado para gerar o assembly dos arquivos do código-fonte.Gets or sets the MS Build target name which is used to generate assembly from source code files. |
| CompileTypeName |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o nome de item adequado que pode ser aceito pela tarefa do compilador gerenciado.Gets or sets the appropriate item name which can be accepted by managed compiler task. |
| CurrentProject |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o caminho completo do arquivo de projeto atual.Gets or sets the full path of current project file. |
| GeneratedCodeFiles |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define uma lista de arquivos de código gerados.Gets or sets a list of generated code files. |
| GenerateTemporaryTargetAssemblyDebuggingInformation |
Obtém ou define um valor que indica se as informações de depuração estão habilitadas para a Tarefa GenerateTemporaryTargetAssembly.Gets or sets a value that indicates whether debugging information is enabled for the GenerateTemporaryTargetAssembly Task. O valor padrão é |
| HelpKeywordPrefix |
Obtém ou define o prefixo usado para compor palavras-chave de ajuda a partir de nomes de recursos de cadeia de caracteres.Gets or sets the prefix used to compose help keywords from string resource names. Se uma tarefa não tiver palavras-chave de ajuda associadas a suas mensagens, ela poderá ignorar essa propriedade ou defini-la como nula.If a task does not have help keywords associated with its messages, it can ignore this property or set it to null. Se o prefixo for definido para uma cadeia de caracteres vazia, os nomes de recursos de cadeia de caracteres serão usados literalmente como palavras-chave de ajuda.If the prefix is set to an empty string, then string resource names will be used verbatim as help keywords. Para um exemplo de como esse prefixo é usado, confira o método TaskLoggingHelper.LogErrorWithCodeFromResources(string,object[]).For an example of how this prefix is used, see the TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[]) method. (Herdado de Task) |
| HostObject |
O mecanismo de compilação define essa propriedade se o IDE do host associou um objeto de host com essa tarefa em particular.The build engine sets this property if the host IDE has associated a host object with this particular task. (Herdado de Task) |
| IntermediateOutputPath |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o diretório em que o assembly de destino temporário é gerado.Gets or sets the directory that the temporary target assembly is generated to. |
| Log |
Obtém uma instância de uma classe TaskLoggingHelper que contém métodos de registro em log da tarefa.Gets an instance of a TaskLoggingHelper class containing task logging methods. O taskLoggingHelper é um objeto MarshallByRef que precisará ter MarkAsInactive chamado se a tarefa pai estiver fazendo o appdomain e o marshaling esse objeto nele.The taskLoggingHelper is a MarshallByRef object which needs to have MarkAsInactive called if the parent task is making the appdomain and marshaling this object into it. Se o AppDomain não for descarregado no final da execução da tarefa e o método MarkAsInactive não for chamado, isso resultará em um vazamento das instâncias de tarefa no AppDomain em que a tarefa foi criada.If the appdomain is not unloaded at the end of the task execution and the MarkAsInactive method is not called this will result in a leak of the task instances in the appdomain the task was created within. (Herdado de Task) |
| MSBuildBinPath |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o caminho binário do MSBuild.Gets or sets the MS Build binary path. |
| ReferencePath |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define uma lista de assemblies de referência resolvidos.Gets or sets a list of resolved reference assemblies. |
| ReferencePathTypeName |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém ou define o nome de item que é usado para manter a lista Referência na tarefa de compilador gerenciado.Gets or sets the item name which is used to keep the Reference list in managed compiler task. |
| TaskResources |
Obtém ou define os recursos específicos de cultura da tarefa.Gets or sets the task's culture-specific resources. As classes derivadas devem registrar seus recursos durante a construção ou por meio dessa propriedade, caso tenham cadeias de caracteres localizadas.Derived classes should register their resources either during construction, or via this property, if they have localized strings. (Herdado de Task) |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| Execute() |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Executa uma tarefa.Executes a task. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |