Microsoft.Build.Tasks Spazio dei nomi
Classi
AL |
Questa classe definisce l'attività XMake "AL", che consente l'uso di al.exe per collegare moduli e file di risorse in assembly.This class defines the "AL" XMake task, which enables using al.exe to link modules and resource files into assemblies. |
AppDomainIsolatedTaskExtension |
Questa classe fornisce le stesse funzionalità della classe Task, ma deriva anche da MarshalByRefObject, quindi è possibile crearne un'istanza nel relativo dominio app.This class provides the same functionality as the Task class, but derives from MarshalByRefObject so that it can be instantiated in its own app domain. |
AspNetCompiler |
Attività AspNetCompiler, che è un wrapper per aspnet_compiler.exeThe AspNetCompiler task, which is a wrapper around aspnet_compiler.exe |
AssignCulture |
Classe: AssignCultureClass: AssignCulture Questa attività accetta un elenco di nomi di file di risorse e imposta un attributo che contiene il nome delle impostazioni cultura incorporato nel nome di file:This task takes a list of resource file names and sets an attribute that contains the culture name embedded in the file name: Risorse.fr.resx ==> Culture='fr'MyResources.fr.resx ==> Culture='fr' L'attività può inoltre restituire un elenco di nomi di file "indipendenti dalle impostazioni cultura", ad esempio:The task can also return a list of "Culture-neutral" file names, like: Glifo.fr.bmp ==> Glifo.bmp [Culture='fr']MyGlyph.fr.bmp ==> MyGlyph.bmp [Culture='fr'] Questo perché si fa riferimento alle risorse incorporate in questo modo.This is because embedded resources are referred to this way. Con questa attività esistono numerosi casi limite.There are plenty of corner cases with this task. Per altri dettagli, vedere l'unit test.See the unit test for more details. |
AssignLinkMetadata |
Attività per assegnare metadati "Link" ragionevoli agli elementi forniti.Task to assign a reasonable "Link" metadata to the provided items. |
AssignProjectConfiguration |
Assegna le configurazioni di progetto XML per gli elementi di attività di riferimento del progetto.Assigns XML project configurations to project reference task items. |
AssignTargetPath |
Crea un nuovo elenco di elementi con attributi <TargetPath> se non ne è presente nessuno nell'input.Create a new list of items that have <TargetPath> attributes if none was present in the input. |
CallTarget |
Implementa l'attività |
CodeTaskFactory |
Factory delle attività che può accettare linguaggi supportati da CodeDom e creare un'attività da tali linguaggiA task factory which can take code dom supported languages and create a task out of it |
CombinePath |
Attività per chiamare Path.Combine.Task to call Path.Combine. |
CommandLineBuilderExtension |
Classe derivata da CommandLineBuilder per la logica specializzata specifica per le attività MSBuildCommandLineBuilder derived class for specialized logic specific to MSBuild tasks |
ConvertToAbsolutePath |
Attività per chiamare Path.GetFullPathTask to call Path.GetFullPath |
Copy |
Attività che copia i file.A task that copies files. |
CreateCSharpManifestResourceName |
Classe di base per l'attività che determina il nome della risorsa di manifesto appropriato da assegnare a un determinato oggetto resx o a un'altra risorsa.Base class for task that determines the appropriate manifest resource name to assign to a given resx or other resource. |
CreateItem |
Inoltra un elenco di elementi dall'input all'output.Forward a list of items from input to output. Questo consente elenchi di elementi dinamici.This allows dynamic item lists. |
CreateManifestResourceName |
Classe di base per l'attività che determina il nome della risorsa di manifesto appropriato da assegnare a un determinato oggetto resx o a un'altra risorsa.Base class for task that determines the appropriate manifest resource name to assign to a given resx or other resource. |
CreateProperty |
Solo un pass-through lineare degli input verso gli output.Just a straight pass-through of the inputs through to the outputs. |
CreateTemporaryVCProject |
Crea un progetto Visual C++ temporaneo con i riferimenti a MSBuild sostituiti da riferimenti a file.Creates a temporary Visual C++ project with MSBuild references replaced with file references. |
CreateVisualBasicManifestResourceName |
Classe di base per l'attività che determina il nome della risorsa di manifesto appropriato da assegnare a un determinato oggetto resx o a un'altra risorsa.Base class for task that determines the appropriate manifest resource name to assign to a given resx or other resource. |
Csc |
Implementa l'attività |
Delete |
Elimina i file dal disco.Delete files from disk. |
DownloadFile |
Rappresenta un'attività che può scaricare un file.Represents a task that can download a file. |
Error |
Attività che genera semplicemente un errore.Task that simply emits an error. Il motore aggiungerà le informazioni sul percorso del file di progetto e sulla riga/colonna.Engine will add project file path and line/column information. |
ErrorFromResources |
Attività che genera un errore in base a una stringa di risorsa.Task that emits an error given a resource string. Il motore aggiungerà le informazioni sul percorso del file di progetto e sulla riga/colonna.Engine will add project file path and line/column information. |
Exec |
Questa classe definisce un'attività MSBuild "Exec", che richiama semplicemente il processo specificato con gli argomenti specificati, ne attende il completamento, quindi restituisce true se il processo viene completato correttamente e false se si verifica un errore.This class defines an "Exec" MSBuild task, which simply invokes the specified process with the specified arguments, waits for it to complete, and then returns True if the process completed successfully, and False if an error occurred. |
FindAppConfigFile |
Trova il file app.config, se presente, negli elenchi forniti.Finds the app.config file, if any, in the provided lists. Per motivi di compatibilità, deve seguire un particolare algoritmo arbitrario.For compat reasons, it has to follow a particular arbitrary algorithm. Aggiunge inoltre i metadati TargetPath.It also adds the TargetPath metadata. |
FindInList |
Attività che trova un elemento con l'argomento itemspec specificato, se presente, nell'elenco fornito.A task that finds an item with the specified itemspec, if present, in the provided list. |
FindInvalidProjectReferences |
Restituisce i percorsi dell'assembly di riferimento ai vari framework.Returns the reference assembly paths to the various frameworks |
FindUnderPath |
Dato un elenco di elementi, determina quelli presenti e quelli assenti nell'area di influenza della cartella passata.Given a list of items, determine which are in the cone of the folder passed in and which aren't. |
FormatUrl |
Formatta un URL canonizzandolo (ad esempio " " -> "%20") e trasformando "localhost" in "machinename".Formats a url by canonicalizing it (i.e. " " -> "%20") and transforming "localhost" to "machinename". |
FormatVersion |
Formatta una versione combinando la versione e la revisione.Formats a version by combining version and revision. |
GenerateApplicationManifest |
Genera un manifesto dell'applicazione per i progetti ClickOnce.Generates an application manifest for ClickOnce projects. |
GenerateBindingRedirects |
Eseguire i reindirizzamenti suggeriti (dalle attività ResolveAssemblyReference e GenerateOutOfBandAssemblyTables) e aggiungerli a una copia intermedia del file App.config.Take suggested redirects (from the ResolveAssemblyReference and GenerateOutOfBandAssemblyTables tasks) and add them to an intermediate copy of the App.config file. |
GenerateBootstrapper |
Genera un programma di avvio automatico per i progetti di distribuzione ClickOnce.Generates a bootstrapper for ClickOnce deployment projects. |
GenerateDeploymentManifest |
Genera un manifesto di distribuzione per i progetti ClickOnce.Generates a deploy manifest for ClickOnce projects. |
GenerateManifestBase |
Classe di base per tutte le attività di generazione del manifesto.Base class for all manifest generation tasks. |
GenerateResource |
Questa classe definisce l'attività "GenerateResource" di MSBuild, che consente di usare le API delle risorse per trasformare i file di risorse.This class defines the "GenerateResource" MSBuild task, which enables using resource APIs to transform resource files. |
GenerateTrustInfo |
Questa attività genera l'attendibilità dell'applicazione dal manifesto di base e dalle proprietà TargetZone ed ExcludedPermissions.This task generates the application trust from the base manifest and the TargetZone and ExcludedPermissions properties. |
GetAssemblyIdentity |
Analizza i file di input per le relative identità di assembly e restituisce un set di elementi con le informazioni sull'identità.Sniffs input files for their assembly identities, and outputs a set of items with the identity information. |
GetFileHash |
Calcola il checksum per un singolo file.Computes the checksum for a single file. |
GetFrameworkPath |
Restituisce i percorsi delle diverse versioni dei framework.Returns the paths to the various frameworks versions. |
GetFrameworkSdkPath |
Restituisce i percorsi dell'SDK dei framework.Returns paths to the frameworks SDK. |
GetInstalledSDKLocations |
Raggruppa l'elenco di SDKS installati nel Registro di sistema e su disco e li restituisce nel progetto in modo che possano essere utilizzati durante la risoluzione dei riferimenti SDK e il RAR per i singoli file.Gathers the list of installed SDKS in the registry and on disk and outputs them into the project so they can be used during SDK reference resolution and RAR for single files. |
GetReferenceAssemblyPaths |
Restituisce i percorsi dell'assembly di riferimento ai vari framework.Returns the reference assembly paths to the various frameworks |
GetSDKReferenceFiles |
Risolve un SDKReference in un percorso completo su discoResolves an SDKReference to a full path on disk |
Hash |
Genera un hash di un elemento ItemGroup specificato.Generates a hash of a given ItemGroup items. I metadati non vengono considerati nell'hash.Metadata is not considered in the hash. Attualmente usa SHA1.Currently uses SHA1. Implementazione soggetta a modifica tra le diverse versioni di MSBuild.Implementation subject to change between MSBuild versions. Non deve essere considerata una misura di sicurezza crittografica, ma solo di univocità tra le esecuzioni della build.Not intended as a cryptographic security measure, only uniqueness between build executions. |
LC |
Attività del compilatore di licenzeThe License Compiler task |
MakeDir |
Attività che crea una directoryA task that creates a directory |
ManagedCompiler |
Definisce le proprietà e metodi comuni per le attività del compilatore gestito.Defines the properties and methods common to managed compiler tasks. |
Message |
Attività che genera semplicemente un messaggio.Task that simply emits a message. Se non specificata, l'importanza è alta per impostazione predefinita.Importance defaults to high if not specified. |
Move |
Attività che consente di spostare uno o più file.Task to move one or more files. |
MSBuild |
Implementa l'attività |
ReadLinesFromFile |
Legge un elenco di elementi da un file.Read a list of items from a file. |
RegisterAssembly |
Registra un assembly gestito per l'interoperabilità COM (equivalente alla funzionalità regasm.exe, ma questo codice non chiama effettivamente il file exe).Registers a managed assembly for COM interop (equivalent of regasm.exe functionality, but this code doesn't actually call the exe). |
RemoveDir |
Rimuove le directory specificate.Remove the specified directories. |
RemoveDuplicates |
Dato un elenco di elementi, rimuove gli elementi duplicati.Given a list of items, remove duplicate items. Gli attributi non vengono considerati.Attributes are not considered. Senza distinzione tra maiuscole e minuscole.Case insensitive. |
RequiresFramework35SP1Assembly |
Questa attività determina se il progetto richiede l'assembly VS2008 SP1.This task determines if this project requires VS2008 SP1 assembly. |
ResolveAssemblyReference |
Dato un elenco di assemblyFiles, determinare la chiusura di tutti gli assemblyFiles che dipendono da tali assemblyFiles, incluse anche le dipendenze di secondo ed ennesimo ordine.Given a list of assemblyFiles, determine the closure of all assemblyFiles that depend on those assemblyFiles including second and nth-order dependencies too. |
ResolveCodeAnalysisRuleSet |
Determina il file, se presente, da usare come set di regole di analisi codice in base alle proprietà di analisi codice fornite.Determines which file, if any, to be used as the code analysis rule set based on the supplied code analysis properties. |
ResolveComReference |
Classe principale per l'attività di risoluzione dei riferimenti COM per .NET CoreMain class for the COM reference resolution task for .NET Core |
ResolveKeySource |
Determina l'origine delle chiavi con nome sicuroDetermine the strong name key source |
ResolveManifestFiles |
Questa attività risolve gli elementi seguenti nel processo di compilazione in file per la generazione di manifesti: elementi di compilazione, dipendenze, satelliti, contenuto, simboli di debug e documentazione in file per la generazione di manifesti.This task resolves the following items in the build process to files for manifest generation: built items, dependencies, satellites, content, debug symbols, and documentation) to files for manifest generation. |
ResolveNativeReference |
Classe principale per l'attività di risoluzione dei riferimenti nativi.Main class for the native reference resolution task. |
ResolveNonMSBuildProjectOutput |
Determina i file di output per riferimenti a progetti non MSBuild.Determines the output files for non-MSBuild project references. |
ResolveProjectBase |
Classe di base per ResolveNonMSBuildProjectOutput e AssignProjectConfiguration, poiché hanno un'architettura simileBase class for ResolveNonMSBuildProjectOutput and AssignProjectConfiguration, since they have similar architecture |
ResolveSDKReference |
Risolve un SDKReference in un percorso completo su discoResolves an SDKReference to a full path on disk |
ResolveVCProjectOutput |
Determina i file di output per riferimenti a progetti Visual C++.Determines the output files for Visual C++ project references. |
RoslynCodeTaskFactory | |
SGen |
Genera un assembly di serializzazione contenente serializzatori XML per l'assembly di input.Genererates a serialization assembly containing XML serializers for the input assembly. |
SignFile |
Questa attività firma il file passato usando il certificato Authenticode specificato e, facoltativamente, usa un timestamp se viene specificato un URL.This task signs the passed in file using the Authenticode cert provided and optionally uses a timestamp if a URL is provided. Può firmare i manifesti ClickOnce oltre ai file EXE.It can sign ClickOnce manifests as well as exe's. |
TaskExtension |
Piccola classe intermedia per le attività MSBuild, vedere anche TaskLoadInSeparateAppDomainExtensionA small intermediate class for MSBuild tasks, see also TaskLoadInSeparateAppDomainExtension |
TaskLoggingHelperExtension |
Classe di registrazione dell'helper per le attività, usate per gestire due flussi di risorse.Helper logging class for tasks, used for dealing with two resource streams. |
Telemetry |
Attività che registra i dati di telemetria.Task that logs telemetry. |
ToolTaskExtension |
Piccola classe intermedia tra ToolTask e le classi che lo usano in XMakeTasks, implementando funzionalità che non volevamo esporre nelle utilitàA small intermediate class between ToolTask and classes using it in XMakeTasks, implementing functionality that we didn't want to expose in Utilities |
Touch |
Questa classe definisce l'attività Touch.This class defines the touch task. |
UnregisterAssembly |
Registra un assembly gestito per l'interoperabilità COM (equivalente alla funzionalità regasm.exe, ma questo codice non chiama effettivamente il file exe).Registers a managed assembly for COM interop (equivalent of regasm.exe functionality, but this code doesn't actually call the exe). |
Unzip |
Rappresenta un'attività che può estrarre un archivio ZIP.Represents a task that can extract a .zip archive. |
UpdateManifest |
Aggiorna le proprietà selezionate in un manifesto e ripete la firma.Updates selected properties in a manifest and resigns. |
Vbc |
Implementa l'attività |
VCBuild |
Implementa l'attività |
VerifyFileHash |
Verifica che un file corrisponda all'hash file previsto.Verifies that a file matches the expected file hash. |
Warning |
Attività che genera semplicemente un avviso.Task that simply emits a warning. Il motore aggiungerà il percorso del progetto poiché non viene specificato un nome file.Engine will add the project path because we do not specify a filename. |
WinMDExp |
Esporta un assembly gestito nei metadati di Windows Runtime.Exports a managed assembly to a windows runtime metadata. |
WriteCodeFragment |
Genera un file di codice temporaneo con il frammento di codice generato specificato.Generates a temporary code file with the specified generated code fragment. Non elimina il file.Does not delete the file. |
WriteLinesToFile |
Accoda un elenco di elementi a un file.Appends a list of items to a file. Un elemento per riga con ritorni a capo intermedi.One item per line with carriage returns in-between. |
XamlTaskFactory |
Provider della factory delle attività per le attività XAML.The task factory provider for XAML tasks. |
XmlPeek |
Attività che restituisce valori come specificato dalla query XPath da un file XML.A task that returns values as specified by XPath Query from an XML file. |
XmlPoke |
Attività che imposta valori come specificato dalla query XPath in un file XML.A task that sets values as specified by XPath Query into a XML file. |
XslTransformation |
Attività che trasforma un input XML con un XSLT o un XSLT compilato e gli output in una schermata o in un file specificato.A task that transforms a XML input with an XSLT or Compiled XSLT and outputs to screen or specified file. |
ZipDirectory |
Struct
ExtractedClassName |
Nome della classe estratta dal file di origine.Extracted class name from the source file. |
Interfacce
IFixedTypeInfo |
L'interfaccia ITypeInfo originale in CLR contiene definizioni non corrette per GetRefTypeOfImplType e GetRefTypeInfo.The original ITypeInfo interface in the CLR has incorrect definitions for GetRefTypeOfImplType and GetRefTypeInfo. Usa valori int per gli handle di marshalling che comporteranno un arresto anomalo nei sistemi a 64 bit.It uses ints for marshalling handles which will result in a crash on 64 bit systems. Si tratta di un'interfaccia temporanea da usare fino a quando non viene risolto quella in CLR.This is a temporary interface for use until the one in the CLR is fixed. Quando è possibile tornare a usare ITypeInfo.When it is we can go back to using ITypeInfo. |