diff --git a/src/Build/BackEnd/BuildManager/BuildManager.cs b/src/Build/BackEnd/BuildManager/BuildManager.cs index b2aae4fb743..3d2088d264c 100644 --- a/src/Build/BackEnd/BuildManager/BuildManager.cs +++ b/src/Build/BackEnd/BuildManager/BuildManager.cs @@ -1332,6 +1332,7 @@ internal void ExecuteSubmission(BuildSubmission submission, bool allowMainThread _projectCacheService.InitializePluginsForVsScenario( ProjectCacheDescriptors.Values, resolvedConfiguration, + submission.BuildRequestData.TargetNames, _executionCancellationTokenSource.Token); } @@ -1953,7 +1954,7 @@ private void ExecuteGraphBuildScheduler(GraphBuildSubmission submission) if (submission.BuildRequestData.GraphBuildOptions.Build) { - _projectCacheService.InitializePluginsForGraph(projectGraph, _executionCancellationTokenSource.Token); + _projectCacheService.InitializePluginsForGraph(projectGraph, submission.BuildRequestData.TargetNames, _executionCancellationTokenSource.Token); var targetListTask = projectGraph.GetTargetLists(submission.BuildRequestData.TargetNames); diff --git a/src/Build/BackEnd/Components/ProjectCache/CacheContext.cs b/src/Build/BackEnd/Components/ProjectCache/CacheContext.cs index 256102d0d86..d7b5ea98cca 100644 --- a/src/Build/BackEnd/Components/ProjectCache/CacheContext.cs +++ b/src/Build/BackEnd/Components/ProjectCache/CacheContext.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System; using System.Collections.Generic; using Microsoft.Build.FileSystem; using Microsoft.Build.Graph; @@ -22,12 +23,23 @@ public class CacheContext public IReadOnlyCollection? GraphEntryPoints { get; } public string? MSBuildExePath { get; } public MSBuildFileSystemBase FileSystem { get; } + public IReadOnlyCollection RequestedTargets { get; } public CacheContext( IReadOnlyDictionary pluginSettings, MSBuildFileSystemBase fileSystem, ProjectGraph? graph = null, IReadOnlyCollection? graphEntryPoints = null) + : this(pluginSettings, fileSystem, requestedTargets: Array.Empty(), graph, graphEntryPoints) + { + } + + public CacheContext( + IReadOnlyDictionary pluginSettings, + MSBuildFileSystemBase fileSystem, + IReadOnlyCollection requestedTargets, + ProjectGraph? graph = null, + IReadOnlyCollection? graphEntryPoints = null) { ErrorUtilities.VerifyThrow( (graph != null) ^ (graphEntryPoints != null), @@ -38,6 +50,7 @@ public CacheContext( GraphEntryPoints = graphEntryPoints; MSBuildExePath = BuildEnvironmentHelper.Instance.CurrentMSBuildExePath; FileSystem = fileSystem; + RequestedTargets = requestedTargets; } } } diff --git a/src/Build/BackEnd/Components/ProjectCache/ProjectCacheService.cs b/src/Build/BackEnd/Components/ProjectCache/ProjectCacheService.cs index 4d695e99076..e53d28292d1 100644 --- a/src/Build/BackEnd/Components/ProjectCache/ProjectCacheService.cs +++ b/src/Build/BackEnd/Components/ProjectCache/ProjectCacheService.cs @@ -95,7 +95,10 @@ public ProjectCacheService( /// /// Optimization which frontloads plugin initialization since we have an entire graph. /// - public void InitializePluginsForGraph(ProjectGraph projectGraph, CancellationToken cancellationToken) + public void InitializePluginsForGraph( + ProjectGraph projectGraph, + ICollection requestedTargets, + CancellationToken cancellationToken) { EnsureNotDisposed(); @@ -111,7 +114,7 @@ public void InitializePluginsForGraph(ProjectGraph projectGraph, CancellationTok foreach (ProjectCacheDescriptor projectCacheDescriptor in GetProjectCacheDescriptors(node.ProjectInstance)) { // Intentionally fire-and-forget to asynchronously initialize the plugin. Any exceptions will bubble up later when querying. - _ = GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph, buildRequestConfiguration: null, cancellationToken) + _ = GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph, buildRequestConfiguration: null, requestedTargets, cancellationToken) .ContinueWith(t => { }, TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.OnlyOnFaulted); } }); @@ -122,6 +125,7 @@ public void InitializePluginsForGraph(ProjectGraph projectGraph, CancellationTok public void InitializePluginsForVsScenario( IEnumerable projectCacheDescriptors, BuildRequestConfiguration buildRequestConfiguration, + ICollection requestedTargets, CancellationToken cancellationToken) { EnsureNotDisposed(); @@ -144,7 +148,7 @@ public void InitializePluginsForVsScenario( projectCacheDescriptor => { // Intentionally fire-and-forget to asynchronously initialize the plugin. Any exceptions will bubble up later when querying. - _ = GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, cancellationToken) + _ = GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargets, cancellationToken) .ContinueWith(t => { }, TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.OnlyOnFaulted); }); }, @@ -155,12 +159,13 @@ private Task GetProjectCachePluginAsync( ProjectCacheDescriptor projectCacheDescriptor, ProjectGraph? projectGraph, BuildRequestConfiguration? buildRequestConfiguration, + ICollection requestedTargets, CancellationToken cancellationToken) => _projectCachePlugins.GetOrAdd( projectCacheDescriptor, // The use of Lazy is because ConcurrentDictionary doesn't guarantee the value factory executes only once if there are multiple simultaneous callers, // so this ensures that CreateAndInitializePluginAsync is only called exactly once. - descriptor => new Lazy>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, cancellationToken))) + descriptor => new Lazy>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, requestedTargets, cancellationToken))) .Value; private IEnumerable GetProjectCacheDescriptors(ProjectInstance projectInstance) @@ -189,6 +194,7 @@ private async Task CreateAndInitializePluginAsync( ProjectCacheDescriptor projectCacheDescriptor, ProjectGraph? projectGraph, BuildRequestConfiguration? buildRequestConfiguration, + ICollection requestedTargets, CancellationToken cancellationToken) { BuildEventContext buildEventContext = BuildEventContext.Invalid; @@ -241,6 +247,9 @@ private async Task CreateAndInitializePluginAsync( ? GetGraphEntryPoints(buildRequestConfiguration) : null; + // In practice, the underlying type of the ICollection is a List so attempt to cast first + IReadOnlyList requestedTargetsList = requestedTargets as List ?? requestedTargets.ToList(); + _loggingService.LogComment(buildEventContext, MessageImportance.High, "LoadingProjectCachePlugin", pluginTypeName); MSBuildEventSource.Log.ProjectCacheBeginBuildStart(pluginTypeName); @@ -250,6 +259,7 @@ await pluginInstance.BeginBuildAsync( new CacheContext( projectCacheDescriptor.PluginSettings, DefaultMSBuildFileSystem.Instance, + requestedTargetsList, projectGraph, graphEntryPoints), pluginLogger, @@ -517,7 +527,8 @@ private async Task GetCacheResultAsync(BuildRequestData buildReques continue; } - ProjectCachePlugin plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, cancellationToken); + ICollection requestedTargetsList = buildRequestConfiguration.RequestedTargets as ICollection ?? buildRequestConfiguration.RequestedTargets.ToList(); + ProjectCachePlugin plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargetsList, cancellationToken); try { // Rethrow any initialization exception. diff --git a/src/Build/Resources/xlf/Strings.cs.xlf b/src/Build/Resources/xlf/Strings.cs.xlf index 047911f93bf..bce0cd169f9 100644 --- a/src/Build/Resources/xlf/Strings.cs.xlf +++ b/src/Build/Resources/xlf/Strings.cs.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Požadované sestavení NuGet se nenašlo. Očekávaná cesta: {0} + Nepovedlo se načíst požadované sestavení NuGet {0}. @@ -1500,7 +1500,7 @@ Skipping because the "$(AspNetConfiguration)" configuration is not supported for this web project. You can use the AspNetConfiguration property to override the configuration used for building web projects, by adding /p:AspNetConfiguration=<value> to the command line. Currently web projects only support Debug and Release configurations. - Vynecháno, protože konfigurace "$(AspNetConfiguration)" není pro tento webový projekt podporována. Pomocí vlastnosti AspNetConfiguration můžete přepsat konfiguraci používanou k sestavování webových projektů, a to přidáním příkazu /p:AspNetConfiguration=<hodnota> do příkazového řádku. Webové projekty nyní podporují pouze konfigurace Debug a Release. + Vynecháno, protože konfigurace $(AspNetConfiguration) není pro tento webový projekt podporována. Pomocí vlastnosti AspNetConfiguration můžete přepsat konfiguraci používanou k sestavování webových projektů, a to přidáním příkazu /p:AspNetConfiguration=<hodnota> do příkazového řádku. Webové projekty nyní podporují pouze konfigurace Debug a Release. UE: This is not an error, so doesn't need an error code. LOCALIZATION: Do NOT localize "AspNetConfiguration", "Debug", "Release". diff --git a/src/Build/Resources/xlf/Strings.de.xlf b/src/Build/Resources/xlf/Strings.de.xlf index 9d40c5707dd..be95e6e8f12 100644 --- a/src/Build/Resources/xlf/Strings.de.xlf +++ b/src/Build/Resources/xlf/Strings.de.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Eine erforderliche NuGet-Assembly wurde nicht gefunden. Erwarteter Pfad: {0} + Eine erforderliche NuGet-Assembly "{0}" konnte nicht geladen werden. @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Dies ist ein Ausnahmefehler in MSBuild. STIMMEN SIE EINEM VORHANDENEN ISSUE ZU, ODER ERSTELLEN SIE EIN NEUES ISSUE UNTER https://aka.ms/msbuild/unhandled + Dies ist eine nicht behandelte Ausnahme in MSBuild. RUFEN SIE EIN VORHANDENES PROBLEM AUF, ODER ERSTELLEN SIE EIN NEUES UNTER https://aka.ms/msbuild/unhandled {0} diff --git a/src/Build/Resources/xlf/Strings.es.xlf b/src/Build/Resources/xlf/Strings.es.xlf index 4ad2cedbfe7..e3ab82956ad 100644 --- a/src/Build/Resources/xlf/Strings.es.xlf +++ b/src/Build/Resources/xlf/Strings.es.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - No se encontró un ensamblado de NuGet necesario. Ruta de acceso esperada: {0} + No se pudo cargar un ensamblado NuGet necesario "{0}". diff --git a/src/Build/Resources/xlf/Strings.fr.xlf b/src/Build/Resources/xlf/Strings.fr.xlf index 3c1431c28be..8fdb220057b 100644 --- a/src/Build/Resources/xlf/Strings.fr.xlf +++ b/src/Build/Resources/xlf/Strings.fr.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Un assembly NuGet obligatoire est introuvable. Chemin attendu : {0} + Impossible de charger une assemblée NuGet «{0}» requise. @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Il s’agit d’une exception non prise en charge dans MSBuild –– VOTEZ POUR UN PROBLÈME EXISTANT OU CRÉEZ-EN UN SUR https://aka.ms/msbuild/unhandled + Il s’agit d’une exception non gérée dans MSBuild –– VOTEZ POUR UN PROBLÈME EXISTANT OU ENTREZ UN NOUVEAU FICHIER À https://aka.ms/msbuild/unhandled. {0} diff --git a/src/Build/Resources/xlf/Strings.it.xlf b/src/Build/Resources/xlf/Strings.it.xlf index af45d49d4d6..12f8460c1e0 100644 --- a/src/Build/Resources/xlf/Strings.it.xlf +++ b/src/Build/Resources/xlf/Strings.it.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Un assembly NuGet obbligatorio non è stato trovato. Percorso previsto: {0} + Non è stato possibile caricare un assembly NuGet obbligatorio '{0}'. diff --git a/src/Build/Resources/xlf/Strings.ja.xlf b/src/Build/Resources/xlf/Strings.ja.xlf index 09f3ec01754..f21702818b4 100644 --- a/src/Build/Resources/xlf/Strings.ja.xlf +++ b/src/Build/Resources/xlf/Strings.ja.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - 必要な NuGet アセンブリが見つかりませんでした。想定されるパス: {0} + 必要な NuGet アセンブリ '{0}' を読み込めませんでした。 diff --git a/src/Build/Resources/xlf/Strings.ko.xlf b/src/Build/Resources/xlf/Strings.ko.xlf index 5f21196ef4c..432ff34b4eb 100644 --- a/src/Build/Resources/xlf/Strings.ko.xlf +++ b/src/Build/Resources/xlf/Strings.ko.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - 필요한 NuGet 어셈블리를 찾을 수 없습니다. 예상 경로: {0} + 필요한 NuGet 어셈블리 '{0}'을(를) 로드할 수 없습니다. diff --git a/src/Build/Resources/xlf/Strings.pl.xlf b/src/Build/Resources/xlf/Strings.pl.xlf index dafb394d614..3842b13b712 100644 --- a/src/Build/Resources/xlf/Strings.pl.xlf +++ b/src/Build/Resources/xlf/Strings.pl.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Nie znaleziono wymaganego zestawu NuGet. Oczekiwano ścieżki {0}. + Nie można załadować wymaganego zestawu NuGet „{0}”. @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Jest to nieobsługiwany wyjątek na platformie MSBuild -- ZAGŁOSUJ NA ISTNIEJĄCY PROBLEM LUB ZAREJESTRUJ NOWY W WITRYNIE https://aka.ms/msbuild/unhandled. + Jest to nieobsługiwany wyjątek w aplikacji MSBuild -- ZAGŁOSUJ NA ISTNIEJĄCY PROBLEM LUB ZAGŁOSUJ NA NOWY NA https://aka.ms/msbuild/unhandled. {0} diff --git a/src/Build/Resources/xlf/Strings.pt-BR.xlf b/src/Build/Resources/xlf/Strings.pt-BR.xlf index c9b2d280391..bee8a55e88d 100644 --- a/src/Build/Resources/xlf/Strings.pt-BR.xlf +++ b/src/Build/Resources/xlf/Strings.pt-BR.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Um assembly NuGet necessário não foi encontrado. Caminho Esperado: {0} + Não foi possível carregar um assembly NuGet "{0}" obrigatório. @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Essa é uma exceção não tratada no MSBuild -- POR FAVOR, ATUALIZE UMA QUESTÃO EXISTENTE OU ENCAMINHE UMA NOVA EM https://aka.ms/msbuild/unhandled + Esta é uma exceção não tratada no MSBuild -- POR FAVOR, APOIE UM PROBLEMA EXISTENTE OU ARQUIVE UM NOVO EM https://aka.ms/msbuild/unhandled {0} diff --git a/src/Build/Resources/xlf/Strings.ru.xlf b/src/Build/Resources/xlf/Strings.ru.xlf index 42cc6134536..40ebdbfe1e6 100644 --- a/src/Build/Resources/xlf/Strings.ru.xlf +++ b/src/Build/Resources/xlf/Strings.ru.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Не найдена обязательная сборка NuGet. Ожидаемый путь: {0} + Не удалось загрузить требуемую сборку NuGet "{0}". @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Это необработанное исключение в MSBuild. ПРОГОЛОСУЙТЕ ЗА СУЩЕСТВУЮЩУЮ ПРОБЛЕМУ ИЛИ СООБЩИТЕ О НОВУЙ НА https://aka.ms/msbuild/unhandled + Это необработанное исключение в MSBuild. Проголосуйте за существующую проблему или сообщите о новой по адресу https://aka.ms/msbuild/unhandled {0} diff --git a/src/Build/Resources/xlf/Strings.tr.xlf b/src/Build/Resources/xlf/Strings.tr.xlf index 809c1d969fe..8eaeeb2fa66 100644 --- a/src/Build/Resources/xlf/Strings.tr.xlf +++ b/src/Build/Resources/xlf/Strings.tr.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - Gereken NuGet derlemesi bulunamadı. Beklenen Yol: {0} + Gerekli bir NuGet '{0}' derlemesi yüklenemedi. @@ -492,7 +492,7 @@ This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled {0} - Bu, MSBuild'de işlenmeyen bir istisnadır -- LÜTFEN MEVCUT BİR SORUNU OYLAYIN VEYA https://aka.ms/msbuild/unhandled ADRESİNDE YENİ BİR SORUN OLUŞTURUN + Bu, MSBuild'de işlenmeyen bir istisnadır -- LÜTFEN MEVCUT BİR SORUNU OYLAYIN VEYA https://aka.ms/msbuild/unhandled ADRESİNDE YENİ BİR SORUN DOSYALAYIN {0} diff --git a/src/Build/Resources/xlf/Strings.zh-Hans.xlf b/src/Build/Resources/xlf/Strings.zh-Hans.xlf index 89b16c2d43d..29acca521f2 100644 --- a/src/Build/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/Build/Resources/xlf/Strings.zh-Hans.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - 未找到所需的 NuGet 程序集。所需路径: {0} + 无法加载所需的 NuGet 程序集“{0}”。 @@ -2421,7 +2421,7 @@ Utilization: {0} Average Utilization: {1:###.0} MSB4229: The value "{0}" is not valid for an Sdk specification. The attribute should be a semicolon-delimited list of Sdk-name/minimum-version pairs, separated by a forward slash. - MSB4229: 值“{0}”对 Sdk 规范无效。此属性应该是以分号分隔的Sdk-name/minimum-version 对 (用正斜杠分隔) 的列表。 + MSB4229: 值“{0}”对 Sdk 规范无效。此属性应该是以分号分隔的Sdk-name/minimum-version 对(用正斜杠分隔)的列表。 {StrBegin="MSB4229: "} diff --git a/src/Build/Resources/xlf/Strings.zh-Hant.xlf b/src/Build/Resources/xlf/Strings.zh-Hant.xlf index a28f9eadc87..d7e86b932b4 100644 --- a/src/Build/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/Build/Resources/xlf/Strings.zh-Hant.xlf @@ -223,7 +223,7 @@ A required NuGet assembly '{0}' could not be loaded. - 找不到必要的 NuGet 元件。預期的路徑: {0} + 無法載入必要的 NuGet 組件 '{0}'。 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index fd9dc2a5974..554aa2b2533 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -24,8 +24,8 @@ true - - $(MSBuildThisFileDirectory)Directory.BeforeCommon.targets + + $(CustomBeforeMicrosoftCommonTargets);$(MSBuildThisFileDirectory)Directory.BeforeCommon.targets AnyCPU;x64;arm64 diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index bc757f96072..cbfc554f4b5 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -575,17 +575,20 @@ Když se nastaví na MessageUponIsolationViolation (nebo jeho krátký -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral -logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML - -logger:<logger> Použít daný protokolovací nástroj k protokolování událostí nástroje MSBuild. Pokud chcete zadat - více protokolovacích nástrojů, musíte je zadat jednotlivě. - Syntaxe hodnoty <logger> je: - [<class>,]<assembly>[,<options>][;<parameters>] - Syntaxe hodnoty <logger class> je: - [<partial or full namespace>.]<logger class name> - Syntaxe hodnoty <logger assembly> je: - {<assembly name>[,<strong name>] | <assembly file>} + -logger:<protok_nást> Použít daný protokolovací nástroj k protokolování + událostí nástroje MSBuild. Chcete-li zadat více protokolovacích. + nástrojů, musíte je zadat jednotlivě. + Syntaxe hodnoty <protok_nást>: + [<třída_protok_nást>,]<sestavení_protok_nást> + [;<param_protok_nást>] + Syntaxe hodnoty <třída_protok_nást>: + [<část/úpl_obor_názvů>.]<náz_tř_protok_nást> + Syntaxe hodnoty <sestavení_protok_nást>: + {<název_sestavení>[,<strong name>] | <soubor_sestavení>} Parametry protokolovacího nástroje určují, jak MSBuild vytvoří protokolovací nástroj. - Parametry <logger parameters> jsou volitelné a předávají se - protokolovacímu nástroji přesně v tom tvaru, v jakém byly zadány. (Krátký tvar: -l) + Parametry <param_protok_nást> jsou volitelné a předávají se + protokolovacímu nástroji přesně v tom tvaru, v jakém + byly zadány. (Krátký tvar: -l) Příklady: -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral -logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML @@ -854,20 +857,23 @@ Když se nastaví na MessageUponIsolationViolation (nebo jeho krátký -dl:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral -dl:MyLogger,C:\My.dll*ForwardingLogger,C:\Logger.dll - -distributedLogger:<central logger>*<forwarding logger> - Použít zadaný protokolovací nástroj pro protokolování událostí z nástroje MSBuild; ke každému uzlu připojit - jinou instanci protokolovacího nástroje. Pokud chcete zadat více - protokolovacích nástrojů, uveďte je jednotlivě. + -distributedlogger:<centr_protok_nást>*<předáv_protok_nást> + Použít zadaný protokolovací nástroj pro protokolování událostí + z nástroje MSBuild; ke každému uzlu připojit jinou instanci + protokolovacího nástroje. Chcete-li zadat více + protokolovacích nástrojů, uveďte je jednotlivě. (Krátký tvar: -dl) - Syntaxe hodnoty <logger> je: - [<class>,]<assembly>[,<options>][;<parameters>] - Syntaxe hodnoty <logger class> je: - [<partial or full namespace>.]<logger class name> - Syntaxe hodnoty <logger assembly> je: - {<assembly name>[,<strong name>] | <assembly file>} + Syntaxe hodnoty <protok_nást>: + [<třída_protok_nást>,]<sestav_protok_nást> + [;<param_protok_nást>] + Syntaxe hodnoty <třída_protok_nást>: + [<část/úpl_obor_názvů>.]<náz_tř_protok_nást> + Syntaxe hodnoty <sestav_protok_nást>: + {<název_sestavení>[,<strong name>] | <soubor_sestavení>} Parametry protokolovacího nástroje určují, jak MSBuild vytvoří protokolovací nástroj. Parametry <param_protok_nást> jsou volitelné a předávají se - protokolovacímu nástroji přesně v zadaném tvaru. (Krátký tvar: -l) + protokolovacímu nástroji přesně v zadaném tvaru. + (Krátký tvar: -l) Příklady: -dl:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral -dl:MyLogger,C:\My.dll*ForwardingLogger,C:\Logger.dll @@ -1055,7 +1061,7 @@ Když se nastaví na MessageUponIsolationViolation (nebo jeho krátký Verbosity=diagnostic;Encoding=UTF-8 -flp:Summary;Verbosity=minimal;LogFile=msbuild.sum - -flp1:warningsonly;logfile=msbuild.wrn + -flp1:warningsonly;logfile=msbuild.wrn -flp2:errorsonly;logfile=msbuild.err diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index a21843226d1..7a1059f935d 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -112,11 +112,12 @@ This flag is experimental and may not work as intended. - -reportFileAccesses[:True|False] - Führt dazu, dass MSBuild Dateizugriffe auf ein beliebiges konfiguriertes - Projektcache-Plug-In meldet. + -reportFileAccesses[:True|Falsch] + Führt dazu, dass MSBuild Dateizugriffe an alle konfigurierten + meldet + Projektcache-Plug-Ins. - Dieses Flag ist experimentell und funktioniert möglicherweise nicht wie vorgesehen. + Dieses Kennzeichen ist experimentell und funktioniert möglicherweise nicht wie vorgesehen. LOCALIZATION: "-reportFileAccesses" should not be localized. @@ -573,11 +574,11 @@ Dies ist ein restriktiverer Modus von MSBuild, da er erfordert, -logger:<Protokollierung> Mithilfe dieser Protokollierung werden Ereignisse von MSBuild protokolliert. Um mehrere Protokollierungen anzugeben, wird jede Protokollierung gesondert angegeben. Die Syntax für die <Protokollierung> lautet: - [<Klasse>,]<assembly>[,<Optionen>][;<Parameter>] + [<Klasse>,]<Assembly>[,<Optionen>][;<Parameter>] Die Syntax für die <Protokollierungsklasse> lautet: [<Teilweiser oder vollständiger Namespace>.]<Name der Protokollierungsklasse> Die Syntax für die <Protokollierungsassembly> lautet: - {<assembly name>[,<strong name>] | <assembly file>} + {<Assemblyname>[,<strong name>] | <Assemblydatei>} Die Protokollierungsoptionen geben an, wie MSBuild die Protokollierung erstellt. Die <Protokollierungsparameter> sind optional und werden genau so an die Protokollierung übergeben, wie sie eingegeben wurden. (Kurzform: -l) @@ -855,11 +856,11 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert. gesondert angegeben. (Kurzform -dl) Die Syntax für die <Protokollierung> lautet: - [<Klasse>,]<assembly>[,<Optionen>][;<Parameter>] + [<Klasse>,]<Assembly>[,<Optionen>][;<Parameter>] Die Syntax für die <Protokollierungsklasse> lautet: [<Teilweiser oder vollständiger Namespace>.]<Name der Protokollierungsklasse> Die Syntax für die <Protokollierungsassembly> lautet: - {<assembly name>[,<strong name>] | <assembly file>} + {<Assemblyname>[,<strong name>] | <Assemblydatei>} Die Protokollierungsoptionen geben an, wie MSBuild die Protokollierung erstellt. Die <Protokollierungsparameter> sind optional und werden genau so an die Protokollierung übergeben, wie sie eingegeben wurden. (Kurzform: -l) diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index 5e02da6973e..7360c1e9799 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -116,7 +116,7 @@ Hace que MSBuild informe de los accesos a los archivos a cualquier complemento de caché de proyectos. - Esta marca es experimental y puede que no funcione según lo previsto. +Esta marca es experimental y puede que no funcione según lo previsto. LOCALIZATION: "-reportFileAccesses" should not be localized. @@ -571,14 +571,18 @@ -logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML -logger:<registrador> Use este registrador para registrar eventos - de MSBuild. Para especificar varios registradores, especifique cada uno de ellos por separado. + de MSBuild. Para especificar varios registradores, especifique + cada uno de ellos por separado. La sintaxis de <registrador> es: - [<clase>,]<assembly>[,<opciones>][;<parámetros>] + [<clase>,]<ensamblado>[,<opciones>][;<parámetros>] La sintaxis de <clase del registrador> es: - [<espacio de nombres parcial o completo>.]<nombre de clase del registrador> - La sintaxis de <ensamblado del registrador> es: - {<assembly name>[,<strong name>] | <assembly file>} - Las opciones del registrador especifican cómo crea MSBuild el registrador. + [<espacio de nombres parcial o completo>.]<nombre de + clase del registrador> + La sintaxis de <ensamblado del registrador> es: + {<nombre del ensamblado>[,<strong name>] | <archivo + de ensamblado>} + Las opciones del registrador especifican cómo crea MSBuild + el registrador. Los <parámetros del registrador> son opcionales y se pasan al registrador tal como se escriben. (Forma corta: -l) Ejemplos: @@ -855,12 +859,15 @@ Para especificar varios registradores, especifique cada uno de ellos por separado. (Forma corta: -dl) La sintaxis de <registrador> es: - [<clase>,]<assembly>[,<opciones>][;<parámetros>] + [<clase>,]<ensamblado>[,<opciones>][;<parámetros>] La sintaxis de <clase del registrador> es: - [<espacio de nombres parcial o completo>.]<nombre de la clase del registrador> + [<espacio de nombres parcial o completo>.]<nombre + de la clase del registrador> La sintaxis de <ensamblado del registrador> es: - {<assembly name>[,<strong name>] | <assembly file>} - Las opciones del registrador especifican cómo crea MSBuild el registrador. + {<nombre del ensamblado>[,<strong name>] | <archivo + de ensamblado>} + Las opciones del registrador especifican cómo crea MSBuild + el registrador. Los <parámetros del registrador> son opcionales y se pasan al registrador tal como se escriben. (Forma corta: -l) Ejemplos: diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index 61673b8b84b..5667032596d 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -114,7 +114,7 @@ -reportFileAccesses[:True|False] Entraîne le signalement par MSBuild des accès par fichiers aux plug-ins - de cache de projet configurés. + cache de projet configurés. Cet indicateur est expérimental et peut ne pas fonctionner comme prévu. @@ -577,7 +577,7 @@ Cet indicateur est expérimental et peut ne pas fonctionner comme prévu. Syntaxe de <classe de journalisation> : [<espace de noms partiels ou complets>.]<nom de la classe de journalisation> Syntaxe de <assembly de journalisation> : - {<assembly name>[,<strong name>] | <assembly file>} + {<nom d'assembly>[,<strong name>] | <fichier d'assembly>} Les options de journalisation spécifient la façon dont MSBuild crée le journaliseur. Les <paramètres de journalisation> sont facultatifs. Ils sont passés au journaliseur tels que vous les avez tapés. (Forme abrégée : -l) @@ -859,7 +859,7 @@ Remarque : verbosité des enregistreurs d’événements de fichiers Syntaxe de <classe de journalisation> : [<espace de noms partiels ou complets>.]<nom de la classe de journalisation> Syntaxe de <assembly de journalisation> : - {<assembly name>[,<strong name>] | <assembly file>} + {<nom d'assembly>[,<strong name>] | <fichier d'assembly>} Les options de journalisation spécifient la façon dont MSBuild crée le journaliseur. Les <paramètres de journalisation> sont facultatifs. Ils sont passés au journaliseur tels que vous les avez tapés. (Forme abrégée : -l) @@ -1323,7 +1323,7 @@ Remarque : verbosité des enregistreurs d’événements de fichiers MSBUILD : error MSB1014: Must provide an item name for the getItem switch. - MSBUILD : error MSB1014: Doit fournir un nom d'élément pour le commutateur getItem. + MSBUILD : error MSB1014: Must provide an item name for the getItem switch. {StrBegin="MSBUILD : error MSB1014: "}UE: This happens if the user does something like "msbuild.exe -getItem". The user must pass in an actual item name following the switch, as in "msbuild.exe -getItem:blah". @@ -1332,7 +1332,7 @@ Remarque : verbosité des enregistreurs d’événements de fichiers MSBUILD : error MSB1010: Must provide a property name for the getProperty switch. - MSBUILD : error MSB1010: Doit fournir un nom de propriété pour le commutateur getProperty. + MSBUILD : error MSB1010: Must provide a property name for the getProperty switch. {StrBegin="MSBUILD : error MSB1010: "}UE: This happens if the user does something like "msbuild.exe -getProperty". The user must pass in an actual property name following the switch, as in "msbuild.exe -getProperty:blah". @@ -1341,7 +1341,7 @@ Remarque : verbosité des enregistreurs d’événements de fichiers MSBUILD : error MSB1017: Must provide a target name for the getTargetResult switch. - MSBUILD : error MSB1017: Doit fournir un nom de cible pour le commutateur getTargetResult. + MSBUILD : error MSB1017: Must provide a target name for the getTargetResult switch. {StrBegin="MSBUILD : error MSB1017: "}UE: This happens if the user does something like "msbuild.exe -getTargetResult". The user must pass in an actual target name following the switch, as in "msbuild.exe -getTargetResult:blah". @@ -1605,7 +1605,7 @@ Remarque : verbosité des enregistreurs d’événements de fichiers MSBUILD : error MSB1063: Cannot access properties or items when building solution files or solution filter files. This feature is only available when building individual projects. - MSBUILD : error MSB1063: Impossible d'accéder aux propriétés ou aux éléments lors de la création de fichiers de solution ou de fichiers de filtre de solution. Cette fonctionnalité est disponible uniquement lors de la génération de projets individuels. + MSBUILD : error MSB1063: Cannot access properties or items when building solution files or solution filter files. This feature is only available when building individual projects. {StrBegin="MSBUILD : error MSB1063: "}UE: This happens if the user passes in a solution file when trying to access individual properties or items. The user must pass in a project file. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index 03015b156c1..bf5056ca594 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -113,10 +113,10 @@ This flag is experimental and may not work as intended. -reportFileAccesses[:True|False] - Fa in modo che MSBuild segnali gli accessi ai file a qualsiasi + Fa in modo che MSBuild segnali gli accessi ai file a qualsiasi file configurato plug-in della cache del progetto. - Questo flag è sperimentale e potrebbe non funzionare come previsto. +Questo flag è sperimentale e potrebbe non funzionare come previsto. LOCALIZATION: "-reportFileAccesses" should not be localized. @@ -155,7 +155,7 @@ MSBuild version {0} for {1} - Versione di MSBuild Ł{0} per {1} + Versione di MSBuild {0} per {1} LOCALIZATION: {0} contains the DLL version number. {1} contains the name of a runtime, like ".NET Framework", ".NET Core", or "Mono" @@ -583,8 +583,8 @@ Questo flag è sperimentale e potrebbe non funzionare come previsto. [<classe>,]<assembly>[,<opzioni>][;<parametri>] La sintassi di <classe logger> è la seguente: [<spazio dei nomi parziale o completo>.]<nome classe logger> - La sintassi di <logger assembly> è la seguente: - {<assembly name>[,<strong name>] | <assembly file>} + La sintassi di <assembly logger> è la seguente: + {<nome assembly>[,<strong name>] | <file di assembly>} Le opzioni di logger consentono di specificare in che modo MSBuild crea il logger. I <parametri logger> sono facoltativi e vengono passati al logger così come vengono digitati. Forma breve: -l. @@ -865,8 +865,8 @@ Nota: livello di dettaglio dei logger di file [<classe>,]<assembly>[,<opzioni>][;<parametri>] La sintassi di <classe logger> è la seguente: [<spazio dei nomi parziale o completo>.]<nome classe logger> - La sintassi di <logger assembly> è la seguente: - {<assembly name>[,<strong name>] | <assembly file>} + La sintassi di <assembly logger> è la seguente: + {<nome assembly>[,<strong name>] | <file di assembly>} Le opzioni di logger consentono di specificare in che modo MSBuild crea il logger. I <parametri logger> sono facoltativi e vengono passati al logger così come vengono digitati. Forma breve: -l @@ -985,8 +985,9 @@ Nota: livello di dettaglio dei logger di file è la directory corrente. Per impostazione predefinita, ai file viene assegnato il nome "MSBuild<idnodo>.log". Il percorso dei file e altri parametri di fileLogger possono - essere specificati aggiungendo l'opzione "-fileLoggerParameters". + essere specificati aggiungendo l'opzione + "-fileLoggerParameters". Se il nome di un file di log viene impostato con l'opzione fileLoggerParameters, il logger distribuito userà il nome file come modello e aggiungerà l'ID del nodo per creare un @@ -2033,15 +2034,16 @@ Esegue la profilatura della valutazione di MSBuild e scrive -restoreProperty:IsRestore=true;MyProperty=value -restoreProperty:<n>=<v> - Imposta queste proprietà a livello di progetto o ne esegue - l'override solo durante il ripristino e non usa le - proprietà specificate con l'argomento -property. - <v> rappresenta il nome della proprietà e <v> il - valore della proprietà. Usare il punto e virgola o la - virgola per delimitare più proprietà o specificare ogni proprietà separatamente. - (Forma breve: -rp) - Esempio: - -restoreProperty:IsRestore=true;MyProperty=value + Imposta queste proprietà a livello di progetto o ne esegue + l'override solo durante il ripristino e non usa le + proprietà specificate con l'argomento -property. + <v> rappresenta il nome della proprietà e <v> il + valore della proprietà. Usare il punto e virgola o la + virgola per delimitare più proprietà o specificare ogni + proprietà separatamente. + Forma breve: -rp. + Esempio: + -restoreProperty:IsRestore=true;MyProperty=value LOCALIZATION: "-restoreProperty" and "-rp" should not be localized. diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index 533e64a7478..201adf1b476 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -114,7 +114,7 @@ -reportFileAccesses[:True|False] MSBuild が、構成されているプロジェクト キャッシュ プラグインへの - ファイル アクセスを報告するようにします。 + ファイル アクセスを報告します。 このフラグは実験的なものであり、意図したとおりに動作しない可能性があります。 @@ -135,7 +135,7 @@ MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0} - MSBUILD : error MSB1065: ターミナル ロガーの値が無効です。'auto'、'true'、または 'false' のいずれかである必要があります。{0} + MSBUILD : error MSB1065: ターミナル ロガーの値が無効です。'auto'、'true'、または 'false' のいずれかである必要があります。 {0} {StrBegin="MSBUILD : error MSB1065: "} UE: This message does not need in-line parameters because the exception takes care of displaying the invalid arg. diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index 37618cdb38b..9f8357fdf3f 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -573,11 +573,11 @@ -logger:<로거> 이 로거를 사용하여 MSBuild의 이벤트를 기록합니다. 여러 로거를 지정하려면 각 로거를 개별적으로 지정합니다. <로거> 구문은 다음과 같습니다. - [<클래스>,]<assembly>[,<옵션>][;<매개 변수>] + [<클래스>,]<어셈블리>[,<옵션>][;<매개 변수>] <로거 클래스> 구문은 다음과 같습니다. [<부분 또는 전체 네임스페이스>.]<로거 클래스 이름> <로거 어셈블리> 구문은 다음과 같습니다. - {<assembly name>[,<strong name>] | <assembly file>} + {<어셈블리 이름>[,<strong name>] | <어셈블리 파일>} 로거 옵션은 MSBuild가 로거를 만드는 방법을 지정합니다. <로거 매개 변수>는 선택 사항이고 입력한 대로 정확히 로거에 전달됩니다. (약식: -l) @@ -855,11 +855,11 @@ 로거를 지정하려면 각 로거를 개별적으로 지정합니다. (약식 -dl) <로거> 구문은 다음과 같습니다. - [<클래스>,]<assembly>[,<옵션>][;<매개 변수>] + [<클래스>,]<어셈블리>[,<옵션>][;<매개 변수>] <로거 클래스> 구문은 다음과 같습니다. [<부분 또는 전체 네임스페이스>.]<로거 클래스 이름> <로거 어셈블리> 구문은 다음과 같습니다. - {<assembly name>[,<strong name>] | <assembly file>} + {<어셈블리 이름>[,<strong name>] | <어셈블리 파일>} 로거 옵션은 MSBuild가 로거를 만드는 방법을 지정합니다. <로거 매개 변수>는 선택 사항이고 입력한 대로 정확히 로거에 전달됩니다. (약식: -l) diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index f4caceb0acc..3005884206c 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -113,10 +113,10 @@ This flag is experimental and may not work as intended. -reportFileAccesses[:True|False] - Powoduje, że platforma MSBuild zgłasza dostępy do wszystkich skonfigurowanych + Powoduje, że program MSBuild zgłasza dostępy do wszystkich skonfigurowanych plików wtyczek pamięci podręcznej projektu. - Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami. +Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami. LOCALIZATION: "-reportFileAccesses" should not be localized. @@ -575,14 +575,17 @@ -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral -logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML - -logger:<rejestrator> Umożliwia użycie podanego rejestratora do rejestrowania zdarzeń pochodzących - z programu MSBuild. Aby określić wiele rejestratorów, określ każdy z nich osobno. + -logger:<rejestrator> Umożliwia użycie podanego rejestratora do rejestrowania + zdarzeń pochodzących z programu MSBuild. Aby określić + wiele rejestratorów, określ każdy z nich osobno. Składnia elementu <rejestrator>: - [<klasa rejestratora>,]<assembly> [;<parametry rejestratora>] + [<klasa rejestratora>,]<zestaw rejestratora> + [;<parametry rejestratora>] Składnia elementu <klasa rejestratora>: - [<częściowa lub pełna przestrzeń nazw>.] <nazwa klasy rejestratora> + [<częściowa lub pełna przestrzeń nazw>.] + <nazwa klasy rejestratora> Składnia elementu <zestaw rejestratora>: - {<assembly name>[,<strong name>] | <assembly file>} + {<nazwa zestawu>[,<strong name>] | <plik zestawu>} Wartości <parametry rejestratora> są opcjonalne i są przekazywane do rejestratora dokładnie tak, jak zostały wpisane. (Krótka wersja: -l) @@ -861,11 +864,11 @@ wiele rejestratorów, określ każdy z nich osobno. (Krótka wersja: -dl) Składnia elementu <rejestrator>: - [<klasa rejestratora>,]<assembly>[;<parametry rejestratora>] + [<klasa rejestratora>,]<zestaw rejestratora>[;<parametry rejestratora>] Składnia elementu <klasa rejestratora>: [<częściowa lub pełna przestrzeń nazw>.]<nazwa klasy rejestratora> Składnia elementu <zestaw rejestratora>: - {<assembly name>[,<strong name>] | <assembly file>} + {<nazwa zestawu>[,<strong name>] | <plik zestawu>} Wartości <parametry rejestratora> są opcjonalne i są przekazywane do rejestratora dokładnie tak, jak zostały wpisane. (Krótka wersja: -l) @@ -977,11 +980,13 @@ create a log file for each node. -distributedFileLogger - Rejestruje dane wyjściowe kompilacji w wielu plikach dziennika,po jednym pliku - na węzeł programu MSBuild. Początkową lokalizacją tych plików - jest bieżący katalog. Domyślnie pliki mają nazwę + Rejestruje dane wyjściowe kompilacji w wielu plikach + dziennika, po jednym pliku na węzeł programu MSBuild. + Początkową lokalizacją tych plików jest bieżący katalog. + Domyślnie pliki mają nazwę „MSBuild<identyfikator węzła>.log”. Lokalizację plików i inne parametry rejestratora plików można określić + przez dodanie przełącznika „-fileLoggerParameters”. Jeśli nazwa pliku zostanie ustawiona za pomocą przełącznika diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index f84a9fbf2fa..7bc78b2a794 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -113,9 +113,8 @@ This flag is experimental and may not work as intended. -reportFileAccesses[:True|False] - Faz com que o MSBuild relate acessos a arquivos a qualquer - configurado - plug-ins de cache do projeto. + Faz com que o MSBuild relate acessos a arquivos para qualquer plug-in + de cache de projeto configurado. Este sinalizador é experimental e pode não funcionar conforme o esperado. diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index b17262420f6..9e7bb335c03 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -79,7 +79,7 @@ ({0:F1}s) - ({0:F1}с) + ({0:F1}s) {0}: duration in seconds with 1 decimal point @@ -135,7 +135,7 @@ MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0} - MSBUILD : error MSB1065: Недопустимое значение средства ведения журнала терминала. Это должно быть одно из следующих значений: "auto", "ИСТИНА" или "ЛОЖЬ". {0} + MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0} {StrBegin="MSBUILD : error MSB1065: "} UE: This message does not need in-line parameters because the exception takes care of displaying the invalid arg. diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index aba51dfc9b3..b4b0d3b414f 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -573,13 +573,13 @@ -logger:<günlükçü> MSBuild'deki olayları günlüğe almak için bu günlükçüyü kullanın. Birden fazla günlükçü belirtmek için her günlükçüyü ayrı ayrı belirtin. <günlükçü> söz dizimi şöyledir: - [<class>,]<assembly>[,<options>][;<parameters>] + [<sınıf>,]<derleme>[,<seçenekler>][;<parametreler>] <günlükçü sınıfı > söz dizimi şöyledir: [<kısmi veya tam ad alanı >.]<günlükçü sınıfı adı> <günlükçü derlemesi> söz dizimi şöyledir: - {<assembly name>[,<strong name>] | <assembly file>} + {<derleme adı>[,<strong name>] | <derleme dosyası>} Günlükçü seçenekleri, MSBuild'in günlükçüyü oluşturma biçimini belirtir. - <günlükçü parametreleri > isteğe bağlıdır ve tam olarak + <günlükçü parametreleri > isteğe bağlıdır ve tam olarak yazdığınız şekliyle günlükçüye geçirilir. (Kısa biçim: -l) Örnekler: -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral @@ -855,11 +855,11 @@ günlükçü belirtmek için her günlükçüyü ayrı ayrı belirtin. (Kısa biçim -dl) <günlükçü> söz dizimi şöyledir: - [<sınıf>,]<assembly>[,<seçenekler>][;<parametreler>] + [<sınıf>,]<derleme>[,<seçenekler>][;<parametreler>] <günlükçü sınıfı> söz dizimi şöyledir: [<kısmi veya tam ad alanı>.]<günlükçü sınıfı adı> <günlükçü derlemesi> söz dizimi şöyledir: - {<assembly name>[,<strong name>] | <assembly file>} + {<derleme adı>[,<strong name>] | <derleme dosyası>} Günlükçü seçenekleri, MSBuild'in günlükçüyü oluşturma biçimini belirtir. <günlükçü parametreleri> isteğe bağlıdır ve tam olarak yazdığınız şekliyle günlükçüye geçirilir. (Kısa biçim: -l) @@ -886,9 +886,10 @@ -ignoreProjectExtensions:.sln -ignoreProjectExtensions:<uzantılar> - Hangi proje dosyasının oluşturulacağı belirlenirken - yoksayılacak uzantıların listesi. Birden çok uzantıyı - birbirinden ayırmak için noktalı virgül veya virgül kullanın. + Hangi proje dosyasının oluşturulacağı belirlenirken + yoksayılacak uzantıların listesi. Birden çok uzantıyı + birbirinden ayırmak için noktalı virgül veya + virgül kullanın. (Kısa biçim: -ignore) Örnek: -ignoreProjectExtensions:.sln @@ -978,6 +979,7 @@ Dosyaların konumu ve fileLogger'ın diğer parametreleri "/fileLoggerParameters" anahtarının eklenmesi yoluyla belirtilebilir. + Günlük dosyası adı fileLoggerParameters anahtarı aracılığıyla ayarlanırsa dağıtılmış günlükçü fileName değerini şablon olarak kullanıp her düğümün günlük dosyasını @@ -1024,31 +1026,32 @@ -fileLoggerParameters[n]:<parametreler> Dosya günlükçüleri için ek parametreler sağlar. - Bu anahtarın olması karşılık gelen -fileLogger[n] + Bu anahtarın olması karşılık gelen -fileLogger[n] anahtarının olduğu anlamına gelir. "n" varsa, 1-9 arasında bir rakam olabilir. - Dağıtılmış dosya günlükçüleri varsa -fileLoggerParameters - bunlar tarafından da kullanılır; -distributedFileLogger açıklamasına bakın. + Dağıtılmış dosya günlükçüleri varsa -fileLoggerParameters + bunlar tarafından da kullanılır; -distributedFileLogger + açıklamasına bakın. (Kısa biçim: -flp[n]) - Konsol günlükçüsü için listelenenlerle aynı parametreler + Konsol günlükçüsü için listelenenlerle aynı parametreler kullanılabilir. Kullanılabilecek bazı ek parametreler: - LogFile--Oluşturma günlüğünün yazılacağı günlük + LogFile--Oluşturma günlüğünün yazılacağı günlük dosyasının yolu. - Append--Derleme günlüğünün gün dosyasının sonuna mı - ekleneceğini yoksa üzerine mi yazılacağını - belirler. Anahtar ayarlandığında oluşturma günlüğü - dosyanın sonuna eklenir. Anahtar ayarlanmadığında - varolan günlük dosyasının üzerine yazılır. + Append--Derleme günlüğünün gün dosyasının sonuna mı + ekleneceğini yoksa üzerine mi yazılacağını + belirler. Anahtar ayarlandığında oluşturma günlüğü + dosyanın sonuna eklenir. Anahtar ayarlanmadığında + varolan günlük dosyasının üzerine yazılır. Varsayılan: günlük dosyasının sonuna eklenmez. - Encoding--Dosyanın kodlamasını belirtir; örneğin, + Encoding--Dosyanın kodlamasını belirtir; örneğin, UTF-8, Unicode veya ASCII Varsayılan ayrıntı düzeyi ayarı Detailed'dır. Örnekler: -fileLoggerParameters:LogFile=MyLog.log;Append; Verbosity=diagnostic;Encoding=UTF-8 - -flp:Summary;Verbosity=minimal;LogFile=msbuild.sum - -flp1:warningsonly;logfile=msbuild.wrn + -flp:Summary;Verbosity=minimal;LogFile=msbuild.sum + -flp1:warningsonly;logfile=msbuild.wrn -flp2:errorsonly;logfile=msbuild.err @@ -1072,7 +1075,8 @@ -nr:true -nodeReuse:<parametreler> - MSBuild düğümlerinin yeniden kullanımını etkinleştirir veya devre dışı bırakır. + MSBuild düğümlerinin yeniden kullanımını etkinleştirir + veya devre dışı bırakır. Parametreler: True --Derleme tamamlandıktan sonra düğümler kalır ve izleyen derlemelerde yeniden kullanılır (varsayılan) @@ -1403,7 +1407,7 @@ MSBUILD : error MSB1066: Specify one or more parameters for the terminal logger if using the -terminalLoggerParameters switch - MSBUILD : error MSB1066: terminalLoggerParameters anahtarı kullanılıyorsa terminal günlükçüsü için bir veya birden çok parametre belirtin + MSBUILD : error MSB1066: -terminalLoggerParameters anahtarı kullanılıyorsa terminal günlükçüsü için bir veya birden çok parametre belirtin {StrBegin="MSBUILD : error MSB1066: "} UE: This happens if the user does something like "msbuild.exe -termionalLoggerParameters:". The user must pass in one or more parameters diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 2a4877909af..10005ca388c 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -573,11 +573,11 @@ -logger:<記錄器> 使用此記錄器可記錄 MSBuild 的事件。 若要指定多個記錄器,請各別指定每個記錄器。 <記錄器> 語法為: - [<class>,]<assembly>[,<options>][;<parameters>] + [<類別>,]<組件>[,<選項>][;<參數>] <記錄器類別> 語法為: [<一部分或完整的命名空間>.]<記錄器類別名稱> <記錄器組件> 語法為: - {<assembly name>[,<strong name>] | <assembly file>} + {<組件名稱>[,<strong name>] | <組件檔案>} 記錄器選項會指定 MSBuild 建立記錄器的方式。 <記錄器參數> 是選擇性參數,其會依您輸入的內容, 完全一樣地傳遞到記錄器。(簡短形式: -l) @@ -855,11 +855,11 @@ 若要指定多個記錄器,請各別指定每個記錄器。 (簡短形式 -dl) <記錄器> 語法為: - [<class>,]<assembly>[,<options>][;<parameters>] + [<類別>,]<組件>[,<選項>][;<參數>] <記錄器類別> 語法為: [<一部分或完整的命名空間>.]<記錄器類別名稱> <記錄器組件> 語法為: - {<assembly name>[,<strong name>] | <assembly file>} + {<組件名稱>[,<strong name>] | <組件檔案>} 記錄器選項會指定 MSBuild 建立記錄器的方式。 <記錄器參數> 是選擇性參數,其會依您輸入的內容, 完全一樣地傳遞到記錄器。(簡短形式: -l) diff --git a/src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs b/src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs index 381fa520766..2c3e3779d45 100644 --- a/src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs +++ b/src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs @@ -2066,12 +2066,6 @@ internal void WriteStateFile() { // Either the cache is dirty (we added or updated an item) or the number of items actually used is less than what // we got by reading the state file prior to execution. Serialize the cache into the state file. - if (FailIfNotIncremental) - { - Log.LogErrorFromResources("ResolveAssemblyReference.WritingCacheFile", _stateFile); - return; - } - _cache.SerializeCache(_stateFile, Log); } } diff --git a/src/Tasks/Microsoft.Common.CrossTargeting.targets b/src/Tasks/Microsoft.Common.CrossTargeting.targets index 07dd2aeb869..8d079e3f057 100644 --- a/src/Tasks/Microsoft.Common.CrossTargeting.targets +++ b/src/Tasks/Microsoft.Common.CrossTargeting.targets @@ -248,4 +248,9 @@ Copyright (C) Microsoft Corporation. All rights reserved. + + false + + + diff --git a/src/Tasks/Resources/Strings.resx b/src/Tasks/Resources/Strings.resx index ce39286376c..d4c6d77ab34 100644 --- a/src/Tasks/Resources/Strings.resx +++ b/src/Tasks/Resources/Strings.resx @@ -1776,10 +1776,6 @@ Assembly file '{0}' could not be opened -- PE image doesn't contain managed metadata. - - Updating assembly cache file "{0}". - -