Suppress package-compat warnings related to #9330.

Co-authored-by: Mariana Dematte <magarces@microsoft.com>
Co-authored-by: Gang Wang <v-gaw@microsoft.com>
This commit is contained in:
Rainer Sigwald 2023-10-25 05:19:21 -05:00
Родитель 3a2f9ba61c 195e7f5a3a
Коммит 04fde49cac
52 изменённых файлов: 833 добавлений и 505 удалений

Просмотреть файл

@ -19,7 +19,7 @@
<PackageVersion Include="LargeAddressAware" Version="1.0.5" />
<PackageVersion Update="LargeAddressAware" Condition="'$(LargeAddressAwareVersion)' != ''" Version="$(LargeAddressAwareVersion)" />
<PackageVersion Include="Microsoft.BuildXL.Processes" Version="0.1.0-20230727.4.2" />
<PackageVersion Include="Microsoft.BuildXL.Processes" Version="0.1.0-20230929.2" />
<PackageVersion Update="Microsoft.BuildXL.Processes" Condition="'$(BuildXLProcessesVersion)' != ''" Version="$(BuildXLProcessesVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="3.2.2146" PrivateAssets="All" />

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using Microsoft.Build.BackEnd;
using Microsoft.Build.Framework;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.Shared;
using Microsoft.Build.Utilities;
using Xunit;

Просмотреть файл

@ -10,6 +10,7 @@ using System.Linq;
using BuildXL.Processes;
using BuildXL.Utilities.Core;
using Microsoft.Build.Exceptions;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.FileAccesses;
using Microsoft.Build.Internal;
using Microsoft.Build.Shared;
@ -160,20 +161,20 @@ namespace Microsoft.Build.BackEnd
}
public override void HandleFileAccess(FileAccessData fileAccessData) => _fileAccessManager.ReportFileAccess(
new Framework.FileAccess.FileAccessData(
(Framework.FileAccess.ReportedFileOperation)fileAccessData.Operation,
(Framework.FileAccess.RequestedAccess)fileAccessData.RequestedAccess,
new Experimental.FileAccess.FileAccessData(
(Experimental.FileAccess.ReportedFileOperation)fileAccessData.Operation,
(Experimental.FileAccess.RequestedAccess)fileAccessData.RequestedAccess,
fileAccessData.ProcessId,
fileAccessData.Error,
(Framework.FileAccess.DesiredAccess)fileAccessData.DesiredAccess,
(Framework.FileAccess.FlagsAndAttributes)fileAccessData.FlagsAndAttributes,
(Experimental.FileAccess.DesiredAccess)fileAccessData.DesiredAccess,
(Experimental.FileAccess.FlagsAndAttributes)fileAccessData.FlagsAndAttributes,
fileAccessData.Path,
fileAccessData.ProcessArgs,
fileAccessData.IsAnAugmentedFileAccess),
_nodeId);
public override void HandleProcessData(ProcessData processData) => _fileAccessManager.ReportProcess(
new Framework.FileAccess.ProcessData(
new Experimental.FileAccess.ProcessData(
processData.ProcessName,
processData.ProcessId,
processData.ParentProcessId,

Просмотреть файл

@ -9,7 +9,7 @@ using System.Runtime.Versioning;
using System.Threading;
using Microsoft.Build.BackEnd;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.Shared;
namespace Microsoft.Build.FileAccesses

Просмотреть файл

@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Build.BackEnd;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
namespace Microsoft.Build.FileAccesses
{

Просмотреть файл

@ -5,7 +5,7 @@
using System;
using System.Threading;
using Microsoft.Build.BackEnd;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
namespace Microsoft.Build.FileAccesses
{

Просмотреть файл

@ -5,7 +5,7 @@
using System;
using System.Threading;
using Microsoft.Build.BackEnd;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.Shared;
namespace Microsoft.Build.FileAccesses

Просмотреть файл

@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Build.BackEnd;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
namespace Microsoft.Build.FileAccesses
{

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
namespace Microsoft.Build.Experimental.ProjectCache
{

Просмотреть файл

@ -19,7 +19,7 @@ using Microsoft.Build.Eventing;
using Microsoft.Build.Execution;
using Microsoft.Build.FileAccesses;
using Microsoft.Build.Framework;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.Shared;
using ElementLocation = Microsoft.Build.Construction.ElementLocation;
using TaskItem = Microsoft.Build.Execution.ProjectItemInstance.TaskItem;
@ -939,17 +939,20 @@ namespace Microsoft.Build.BackEnd
/// <inheritdoc/>
public override bool IsTaskInputLoggingEnabled => _taskHost._host.BuildParameters.LogTaskInputs;
/// <inheritdoc/>
public override void ReportFileAccess(FileAccessData fileAccessData)
{
#if FEATURE_REPORTFILEACCESSES
/// <summary>
/// Reports a file access from a task.
/// </summary>
/// <param name="fileAccessData">The file access to report.</param>
public void ReportFileAccess(FileAccessData fileAccessData)
{
IBuildComponentHost buildComponentHost = _taskHost._host;
if (buildComponentHost.BuildParameters.ReportFileAccesses)
{
((IFileAccessManager)buildComponentHost.GetComponent(BuildComponentType.FileAccessManager)).ReportFileAccess(fileAccessData, buildComponentHost.BuildParameters.NodeId);
}
#endif
}
#endif
}
public EngineServices EngineServices { get; }

Просмотреть файл

@ -1,4 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- Suppressions for api differences between main and vs17.8 when merging vs17.8 into main -->
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleFileAccess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>lib/net472/Microsoft.Build.dll</Left>
<Right>lib/net472/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleProcess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.ProcessData)</Target>
<Left>lib/net472/Microsoft.Build.dll</Left>
<Right>lib/net472/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleFileAccess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>lib/net8.0/Microsoft.Build.dll</Left>
<Right>lib/net8.0/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleProcess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.ProcessData)</Target>
<Left>lib/net8.0/Microsoft.Build.dll</Left>
<Right>lib/net8.0/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleFileAccess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>ref/net472/Microsoft.Build.dll</Left>
<Right>ref/net472/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleProcess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.ProcessData)</Target>
<Left>ref/net472/Microsoft.Build.dll</Left>
<Right>ref/net472/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleFileAccess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>ref/net8.0/Microsoft.Build.dll</Left>
<Right>ref/net8.0/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Experimental.ProjectCache.ProjectCachePluginBase.HandleProcess(Microsoft.Build.Experimental.ProjectCache.FileAccessContext,Microsoft.Build.Framework.FileAccess.ProcessData)</Target>
<Left>ref/net8.0/Microsoft.Build.dll</Left>
<Right>ref/net8.0/Microsoft.Build.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
</Suppressions>

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Build.Framework.FileAccess
namespace Microsoft.Build.Experimental.FileAccess
{
/*
* Implementation note: This is a copy of BuildXL.Processes.DesiredAccess.

Просмотреть файл

@ -0,0 +1,125 @@
// 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 Microsoft.Build.BackEnd;
namespace Microsoft.Build.Experimental.FileAccess
{
/// <summary>
/// File access data.
/// </summary>
[CLSCompliant(false)]
public struct FileAccessData
: ITranslatable
{
private ReportedFileOperation _operation;
private RequestedAccess _requestedAccess;
private uint _processId;
private uint _error;
private DesiredAccess _desiredAccess;
private FlagsAndAttributes _flagsAndAttributes;
private string _path;
private string? _processArgs;
private bool _isAnAugmentedFileAccess;
public FileAccessData(
ReportedFileOperation operation,
RequestedAccess requestedAccess,
uint processId,
uint error,
DesiredAccess desiredAccess,
FlagsAndAttributes flagsAndAttributes,
string path,
string? processArgs,
bool isAnAugmentedFileAccess)
{
_operation = operation;
_requestedAccess = requestedAccess;
_processId = processId;
_error = error;
_desiredAccess = desiredAccess;
_flagsAndAttributes = flagsAndAttributes;
_path = path;
_processArgs = processArgs;
_isAnAugmentedFileAccess = isAnAugmentedFileAccess;
}
/// <summary>The operation that performed the file access.</summary>
public ReportedFileOperation Operation
{
readonly get => _operation;
private set => _operation = value;
}
/// <summary>The requested access.</summary>
public RequestedAccess RequestedAccess
{
get => _requestedAccess;
private set => _requestedAccess = value;
}
/// <summary>The process id.</summary>
public uint ProcessId
{
readonly get => _processId;
private set => _processId = value;
}
/// <summary>The error code of the operation.</summary>
public uint Error
{
readonly get => _error;
private set => _error = value;
}
/// <summary>The desired access.</summary>
public DesiredAccess DesiredAccess
{
readonly get => _desiredAccess;
private set => _desiredAccess = value;
}
/// <summary>The file flags and attributes.</summary>
public FlagsAndAttributes FlagsAndAttributes
{
readonly get => _flagsAndAttributes;
private set => _flagsAndAttributes = value;
}
/// <summary>The path being accessed.</summary>
public string Path
{
readonly get => _path;
private set => _path = value;
}
/// <summary>The process arguments.</summary>
public string? ProcessArgs
{
readonly get => _processArgs;
private set => _processArgs = value;
}
/// <summary>Whether the file access is augmented.</summary>
public bool IsAnAugmentedFileAccess
{
readonly get => _isAnAugmentedFileAccess;
private set => _isAnAugmentedFileAccess = value;
}
void ITranslatable.Translate(ITranslator translator)
{
translator.TranslateEnum(ref _operation, (int)_operation);
translator.TranslateEnum(ref _requestedAccess, (int)_requestedAccess);
translator.Translate(ref _processId);
translator.Translate(ref _error);
translator.TranslateEnum(ref _desiredAccess, (int)_desiredAccess);
translator.TranslateEnum(ref _flagsAndAttributes, (int)_flagsAndAttributes);
translator.Translate(ref _path);
translator.Translate(ref _processArgs);
translator.Translate(ref _isAnAugmentedFileAccess);
}
}
}

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Build.Framework.FileAccess
namespace Microsoft.Build.Experimental.FileAccess
{
/*
* Implementation note: This is a copy of BuildXL.Processes.FlagsAndAttributes.

Просмотреть файл

@ -0,0 +1,85 @@
// 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 Microsoft.Build.BackEnd;
namespace Microsoft.Build.Experimental.FileAccess
{
/// <summary>
/// Process data.
/// </summary>
[CLSCompliant(false)]
public struct ProcessData : ITranslatable
{
private string _processName;
private uint _processId;
private uint _parentProcessId;
private DateTime _creationDateTime;
private DateTime _exitDateTime;
private uint _exitCode;
public ProcessData(string processName, uint processId, uint parentProcessId, DateTime creationDateTime, DateTime exitDateTime, uint exitCode)
{
_processName = processName;
_processId = processId;
_parentProcessId = parentProcessId;
_creationDateTime = creationDateTime;
_exitDateTime = exitDateTime;
_exitCode = exitCode;
}
/// <summary>The process name.</summary>
public string ProcessName
{
get => _processName;
private set => _processName = value;
}
/// <summary>The process id.</summary>
public uint ProcessId
{
get => _processId;
private set => _processId = value;
}
/// <summary>The parent process id.</summary>
public uint ParentProcessId
{
get => _parentProcessId;
private set => _parentProcessId = value;
}
/// <summary>The creation date time.</summary>
public DateTime CreationDateTime
{
get => _creationDateTime;
private set => _creationDateTime = value;
}
/// <summary>The exit date time.</summary>
public DateTime ExitDateTime
{
get => _exitDateTime;
private set => _exitDateTime = value;
}
/// <summary>The exit code.</summary>
public uint ExitCode
{
get => _exitCode;
private set => _exitCode = value;
}
void ITranslatable.Translate(ITranslator translator)
{
translator.Translate(ref _processName);
translator.Translate(ref _processId);
translator.Translate(ref _parentProcessId);
translator.Translate(ref _creationDateTime);
translator.Translate(ref _exitDateTime);
translator.Translate(ref _exitCode);
}
}
}

Просмотреть файл

@ -1,7 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Build.Framework.FileAccess
namespace Microsoft.Build.Experimental.FileAccess
{
/*
* Implementation note: This is a copy of BuildXL.Processes.ReportedFileOperation.
@ -186,7 +186,7 @@ namespace Microsoft.Build.Framework.FileAccess
/// <summary>
/// This is a quasi operation. The sandbox issues this only when FileAccessPolicy.OverrideAllowWriteForExistingFiles is set, representing
/// that an allow for write check was performed for a given path for the first time (in the scope of a process, another process in the same process
/// that an allow for write check was performed for a given path for the first time (in the scope of a process, another process in the same process
/// tree may also report this for the same path).
/// </summary>
FirstAllowWriteCheckInProcess,

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Build.Framework.FileAccess
namespace Microsoft.Build.Experimental.FileAccess
{
/*
* Implementation note: This is a copy of BuildXL.Processes.RequestedAccess.

Просмотреть файл

@ -11,7 +11,7 @@ using Microsoft.Build.BackEnd.Logging;
using Microsoft.Build.Exceptions;
using Microsoft.Build.FileAccesses;
using Microsoft.Build.Framework;
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
using Microsoft.Build.Internal;
using Microsoft.Build.Shared;

Просмотреть файл

@ -154,6 +154,12 @@
<Compile Include="BackEnd\Components\SdkResolution\TranslationHelpers.cs" />
<Compile Include="FileSystem\*.cs" />
<Compile Include="Evaluation\IItemTypeDefinition.cs" />
<Compile Include="FileAccess\DesiredAccess.cs" />
<Compile Include="FileAccess\FileAccessData.cs" />
<Compile Include="FileAccess\FlagsAndAttributes.cs" />
<Compile Include="FileAccess\ProcessData.cs" />
<Compile Include="FileAccess\ReportedFileOperation.cs" />
<Compile Include="FileAccess\RequestedAccess.cs" />
<Compile Include="Logging\BinaryLogger\ExtendedDataFields.cs" />
<Compile Include="Logging\BinaryLogger\IBuildEventArgsReaderNotifications.cs" />
<Compile Include="Logging\BinaryLogger\IBuildEventStringsReader.cs" />

2
src/Build/Resources/xlf/Strings.cs.xlf сгенерированный
Просмотреть файл

@ -1485,7 +1485,7 @@
</trans-unit>
<trans-unit id="SolutionVenusProjectSkipped">
<source>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=&lt;value&gt; to the command line. Currently web projects only support Debug and Release configurations.</source>
<target state="translated">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=&lt;hodnota&gt; do příkazového řádku. Webové projekty nyní podporují pouze konfigurace Debug a Release.</target>
<target state="translated">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=&lt;hodnota&gt; do příkazového řádku. Webové projekty nyní podporují pouze konfigurace Debug a Release.</target>
<note>
UE: This is not an error, so doesn't need an error code.
LOCALIZATION: Do NOT localize "AspNetConfiguration", "Debug", "Release".

2
src/Build/Resources/xlf/Strings.de.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">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
<target state="translated">Dies ist ein Ausnahmefehler in MSBuild. STIMMEN SIE EINEM VORHANDENEN ISSUE ZU, ODER ERSTELLEN SIE EIN NEUES ISSUE UNTER https://aka.ms/msbuild/unhandled
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.fr.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">Il sagit dune exception non gérée dans MSBuild –– VOTEZ POUR UN PROBLÈME EXISTANT OU ENTREZ UN NOUVEAU FICHIER À https://aka.ms/msbuild/unhandled.
<target state="translated">Il sagit dune exception non prise en charge dans MSBuild –– VOTEZ POUR UN PROBLÈME EXISTANT OU CRÉEZ-EN UN SUR https://aka.ms/msbuild/unhandled
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.pl.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">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.
<target state="translated">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.
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.pt-BR.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">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
<target state="translated">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
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.ru.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">Это необработанное исключение в MSBuild. Проголосуйте за существующую проблему или сообщите о новой по адресу https://aka.ms/msbuild/unhandled
<target state="translated">Это необработанное исключение в MSBuild. ПРОГОЛОСУЙТЕ ЗА СУЩЕСТВУЮЩУЮ ПРОБЛЕМУ ИЛИ СООБЩИТЕ О НОВУЙ НА https://aka.ms/msbuild/unhandled
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.tr.xlf сгенерированный
Просмотреть файл

@ -477,7 +477,7 @@
<trans-unit id="UnhandledMSBuildError">
<source>This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled
{0}</source>
<target state="translated">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
<target state="translated">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
{0}</target>
<note />
</trans-unit>

2
src/Build/Resources/xlf/Strings.zh-Hans.xlf сгенерированный
Просмотреть файл

@ -2406,7 +2406,7 @@ Utilization: {0} Average Utilization: {1:###.0}</source>
</trans-unit>
<trans-unit id="InvalidSdkFormat">
<source>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.</source>
<target state="translated">MSB4229: 值“{0}”对 Sdk 规范无效。此属性应该是以分号分隔的Sdk-name/minimum-version 对(用正斜杠分隔)的列表。</target>
<target state="translated">MSB4229: 值“{0}”对 Sdk 规范无效。此属性应该是以分号分隔的Sdk-name/minimum-version 对 (用正斜杠分隔) 的列表。</target>
<note>{StrBegin="MSB4229: "}</note>
</trans-unit>
<trans-unit id="TaskInstantiationFailureNotSupported">

Просмотреть файл

@ -9,9 +9,6 @@ using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Microsoft.Build.Framework;
using Microsoft.Build.Framework.BuildException;
#if !CLR2COMPATIBILITY
using Microsoft.Build.Framework.FileAccess;
#endif
#nullable disable
@ -426,82 +423,6 @@ namespace Microsoft.Build.BackEnd
_reader.ReadInt32(),
_reader.ReadInt32());
}
/// <inheritdoc/>
public void Translate(ref FileAccessData fileAccessData)
{
ReportedFileOperation reportedFileOperation = default;
RequestedAccess requestedAccess = default;
uint processId = default;
uint error = default;
DesiredAccess desiredAccess = default;
FlagsAndAttributes flagsAndAttributes = default;
string path = default;
string processArgs = default;
bool isAnAugmentedFileAccess = default;
TranslateEnum(ref reportedFileOperation, (int)reportedFileOperation);
TranslateEnum(ref requestedAccess, (int)requestedAccess);
Translate(ref processId);
Translate(ref error);
TranslateEnum(ref desiredAccess, (int)desiredAccess);
TranslateEnum(ref flagsAndAttributes, (int)flagsAndAttributes);
Translate(ref path);
Translate(ref processArgs);
Translate(ref isAnAugmentedFileAccess);
fileAccessData = new FileAccessData(
reportedFileOperation,
requestedAccess,
processId,
error,
desiredAccess,
flagsAndAttributes,
path,
processArgs,
isAnAugmentedFileAccess);
}
/// <inheritdoc/>
public void Translate(ref List<FileAccessData> fileAccessDataList)
{
if (!TranslateNullable(fileAccessDataList))
{
return;
}
int count = default;
Translate(ref count);
fileAccessDataList = new List<FileAccessData>(count);
for (int i = 0; i < count; i++)
{
FileAccessData fileAccessData = default;
Translate(ref fileAccessData);
fileAccessDataList.Add(fileAccessData);
}
}
/// <inheritdoc/>
public void Translate(ref ProcessData processData)
{
string processName = default;
uint processId = default;
uint parentProcessId = default;
DateTime creationDateTime = default;
DateTime exitDateTime = default;
uint exitCode = default;
Translate(ref processName);
Translate(ref processId);
Translate(ref parentProcessId);
Translate(ref creationDateTime);
Translate(ref exitDateTime);
Translate(ref exitCode);
processData = new ProcessData(
processName,
processId,
parentProcessId,
creationDateTime,
exitDateTime,
exitCode);
}
#endif
/// <summary>
@ -1186,59 +1107,6 @@ namespace Microsoft.Build.BackEnd
_writer.Write(value.TargetId);
_writer.Write(value.TaskId);
}
/// <inheritdoc/>
public void Translate(ref FileAccessData fileAccessData)
{
ReportedFileOperation reportedFileOperation = fileAccessData.Operation;
RequestedAccess requestedAccess = fileAccessData.RequestedAccess;
uint processId = fileAccessData.ProcessId;
uint error = fileAccessData.Error;
DesiredAccess desiredAccess = fileAccessData.DesiredAccess;
FlagsAndAttributes flagsAndAttributes = fileAccessData.FlagsAndAttributes;
string path = fileAccessData.Path;
string processArgs = fileAccessData.ProcessArgs;
bool isAnAugmentedFileAccess = fileAccessData.IsAnAugmentedFileAccess;
TranslateEnum(ref reportedFileOperation, (int)reportedFileOperation);
TranslateEnum(ref requestedAccess, (int)requestedAccess);
Translate(ref processId);
Translate(ref error);
TranslateEnum(ref desiredAccess, (int)desiredAccess);
TranslateEnum(ref flagsAndAttributes, (int)flagsAndAttributes);
Translate(ref path);
Translate(ref processArgs);
Translate(ref isAnAugmentedFileAccess);
}
/// <inheritdoc/>
public void Translate(ref List<FileAccessData> fileAccessDataList)
{
if (!TranslateNullable(fileAccessDataList))
{
return;
}
int count = fileAccessDataList.Count;
Translate(ref count);
fileAccessDataList.ForEach(fileAccessData => Translate(ref fileAccessData));
}
/// <inheritdoc/>
public void Translate(ref ProcessData processData)
{
string processName = processData.ProcessName;
uint processId = processData.ProcessId;
uint parentProcessId = processData.ParentProcessId;
DateTime creationDateTime = processData.CreationDateTime;
DateTime exitDateTime = processData.ExitDateTime;
uint exitCode = processData.ExitCode;
Translate(ref processName);
Translate(ref processId);
Translate(ref parentProcessId);
Translate(ref creationDateTime);
Translate(ref exitDateTime);
Translate(ref exitCode);
}
#endif
/// <summary>

Просмотреть файл

@ -1,6 +1,287 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- Suppressions for api differences between main and vs17.8 when merging vs17.8 into main -->
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.DesiredAccess</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FileAccessData</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FlagsAndAttributes</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ProcessData</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ReportedFileOperation</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.RequestedAccess</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.DesiredAccess</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FileAccessData</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FlagsAndAttributes</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ProcessData</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ReportedFileOperation</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.RequestedAccess</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.DesiredAccess</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FileAccessData</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FlagsAndAttributes</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ProcessData</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ReportedFileOperation</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.RequestedAccess</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.DesiredAccess</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FileAccessData</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FlagsAndAttributes</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ProcessData</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ReportedFileOperation</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.RequestedAccess</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.DesiredAccess</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FileAccessData</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.FlagsAndAttributes</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ProcessData</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.ReportedFileOperation</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Microsoft.Build.Framework.FileAccess.RequestedAccess</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Microsoft.Build.Framework.EngineServices.Version2</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Framework.EngineServices.ReportFileAccess(Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>lib/net472/Microsoft.Build.Framework.dll</Left>
<Right>lib/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Microsoft.Build.Framework.EngineServices.Version2</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Framework.EngineServices.ReportFileAccess(Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>lib/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>lib/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Microsoft.Build.Framework.EngineServices.Version2</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Framework.EngineServices.ReportFileAccess(Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>ref/net472/Microsoft.Build.Framework.dll</Left>
<Right>ref/net472/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Microsoft.Build.Framework.EngineServices.Version2</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Framework.EngineServices.ReportFileAccess(Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>ref/net8.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/net8.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Microsoft.Build.Framework.EngineServices.Version2</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.Build.Framework.EngineServices.ReportFileAccess(Microsoft.Build.Framework.FileAccess.FileAccessData)</Target>
<Left>ref/netstandard2.0/Microsoft.Build.Framework.dll</Left>
<Right>ref/netstandard2.0/Microsoft.Build.Framework.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<!-- PKV004 for netstandard2.0-supporting TFs that we do not have runtime assemblies for.
This is intentional, because you can only use MSBuild in the context of a .NET SDK
(on net7.0, as of MSBuild 17.4) or in the context of Visual Studio (net472), but we

Просмотреть файл

@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.Build.Framework.FileAccess;
namespace Microsoft.Build.Framework
{
@ -21,11 +20,6 @@ namespace Microsoft.Build.Framework
/// </summary>
public const int Version1 = 1;
/// <summary>
/// Includes <see cref="ReportFileAccess(FileAccessData)"/>.
/// </summary>
public const int Version2 = 2;
/// <summary>
/// Gets an explicit version of this class.
/// </summary>
@ -33,7 +27,7 @@ namespace Microsoft.Build.Framework
/// Must be incremented whenever new members are added. Derived classes should override
/// the property to return the version actually being implemented.
/// </remarks>
public virtual int Version => Version2;
public virtual int Version => Version1;
/// <summary>
/// Returns <see langword="true"/> if the given message importance is not guaranteed to be ignored by registered loggers.
@ -54,12 +48,5 @@ namespace Microsoft.Build.Framework
/// This is a performance optimization allowing tasks to skip expensive double-logging.
/// </remarks>
public virtual bool IsTaskInputLoggingEnabled => throw new NotImplementedException();
/// <summary>
/// Reports a file access from a task.
/// </summary>
/// <param name="fileAccessData">The file access to report.</param>
[CLSCompliant(false)]
public virtual void ReportFileAccess(FileAccessData fileAccessData) => throw new NotImplementedException();
}
}

Просмотреть файл

@ -1,31 +0,0 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.Build.Framework.FileAccess
{
/// <summary>
/// File access data.
/// </summary>
/// <param name="Operation">The operation that performed the file access.</param>
/// <param name="RequestedAccess">The requested access.</param>
/// <param name="ProcessId">The process id.</param>
/// <param name="Error">The error code of the operation.</param>
/// <param name="DesiredAccess">The desired access.</param>
/// <param name="FlagsAndAttributes">The file flags and attributes.</param>
/// <param name="Path">The path being accessed.</param>
/// <param name="ProcessArgs">The process arguments.</param>
/// <param name="IsAnAugmentedFileAccess">Whether the file access is augmented.</param>
[CLSCompliant(false)]
public readonly record struct FileAccessData(
ReportedFileOperation Operation,
RequestedAccess RequestedAccess,
uint ProcessId,
uint Error,
DesiredAccess DesiredAccess,
FlagsAndAttributes FlagsAndAttributes,
string Path,
string? ProcessArgs,
bool IsAnAugmentedFileAccess);
}

Просмотреть файл

@ -1,25 +0,0 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.Build.Framework.FileAccess
{
/// <summary>
/// Process data.
/// </summary>
/// <param name="ProcessName">The process name.</param>
/// <param name="ProcessId">The process id.</param>
/// <param name="ParentProcessId">The parent process id.</param>
/// <param name="CreationDateTime">The creation date time.</param>
/// <param name="ExitDateTime">The exit date time.</param>
/// <param name="ExitCode">The exit code.</param>
[CLSCompliant(false)]
public readonly record struct ProcessData(
string ProcessName,
uint ProcessId,
uint ParentProcessId,
DateTime CreationDateTime,
DateTime ExitDateTime,
uint ExitCode);
}

Просмотреть файл

@ -6,9 +6,6 @@ using System.Collections.Generic;
using System.Globalization;
using System.IO;
using Microsoft.Build.Framework;
#if !CLR2COMPATIBILITY
using Microsoft.Build.Framework.FileAccess;
#endif
#nullable disable
@ -242,25 +239,7 @@ namespace Microsoft.Build.BackEnd
/// </remarks>
/// <param name="value">The context to be translated.</param>
void Translate(ref BuildEventContext value);
/// <summary>
/// Translates <paramref name="fileAccessData"/>.
/// </summary>
/// <param name="fileAccessData">The <see cref="FileAccessData"/> to translate.</param>
void Translate(ref FileAccessData fileAccessData);
/// <summary>
/// Translates <paramref name="fileAccessDataList"/>.
/// </summary>
/// <param name="fileAccessDataList">The file accesses to translate.</param>
void Translate(ref List<FileAccessData> fileAccessDataList);
/// <summary>
/// Translates <paramref name="processData"/>.
/// </summary>
/// <param name="processData">The <see cref="ProcessData"/> to translate.</param>
void Translate(ref ProcessData processData);
#endif
#endif
/// <summary>
/// Translates an enumeration.

Просмотреть файл

@ -13,7 +13,7 @@ using Microsoft.Build.BackEnd;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework;
#if !CLR2COMPATIBILITY
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
#endif
using Microsoft.Build.Internal;
using Microsoft.Build.Shared;
@ -541,13 +541,16 @@ namespace Microsoft.Build.CommandLine
}
}
/// <inheritdoc/>
public override void ReportFileAccess(FileAccessData fileAccessData)
{
#if FEATURE_REPORTFILEACCESSES
/// <summary>
/// Reports a file access from a task.
/// </summary>
/// <param name="fileAccessData">The file access to report.</param>
public void ReportFileAccess(FileAccessData fileAccessData)
{
_taskHost._fileAccessData.Add(fileAccessData);
#endif
}
#endif
}
public EngineServices EngineServices { get; }

50
src/MSBuild/Resources/xlf/Strings.cs.xlf сгенерированный
Просмотреть файл

@ -568,20 +568,17 @@ 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
</source>
<target state="translated"> -logger:&lt;protok_nást&gt; 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 &lt;protok_nást&gt;:
[&lt;třída_protok_nást&gt;,]&lt;sestavení_protok_nást&gt;
[;&lt;param_protok_nást&gt;]
Syntaxe hodnoty &lt;třída_protok_nást&gt;:
[&lt;část/úpl_obor_názvů&gt;.]&lt;náz_tř_protok_nást&gt;
Syntaxe hodnoty &lt;sestavení_protok_nást&gt;:
{&lt;název_sestavení&gt;[,&lt;strong name&gt;] | &lt;soubor_sestavení&gt;}
<target state="translated"> -logger:&lt;logger&gt; 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 &lt;logger&gt; je:
[&lt;class&gt;,]&lt;assembly&gt;[,&lt;options&gt;][;&lt;parameters&gt;]
Syntaxe hodnoty &lt;logger class&gt; je:
[&lt;partial or full namespace&gt;.]&lt;logger class name&gt;
Syntaxe hodnoty &lt;logger assembly&gt; je:
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Parametry protokolovacího nástroje určují, jak MSBuild vytvoří protokolovací nástroj.
Parametry &lt;param_protok_nást&gt; 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 &lt;logger parameters&gt; 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
@ -850,23 +847,20 @@ 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
</source>
<target state="translated"> -distributedlogger:&lt;centr_protok_nást&gt;*&lt;předáv_protok_nást&gt;
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ě.
<target state="translated"> -distributedLogger:&lt;central logger&gt;*&lt;forwarding logger&gt;
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ě.
(Krátký tvar: -dl)
Syntaxe hodnoty &lt;protok_nást&gt;:
[&lt;třída_protok_nást&gt;,]&lt;sestav_protok_nást&gt;
[;&lt;param_protok_nást&gt;]
Syntaxe hodnoty &lt;třída_protok_nást&gt;:
[&lt;část/úpl_obor_názvů&gt;.]&lt;náz_tř_protok_nást&gt;
Syntaxe hodnoty &lt;sestav_protok_nást&gt;:
{&lt;název_sestavení&gt;[,&lt;strong name&gt;] | &lt;soubor_sestavení&gt;}
Syntaxe hodnoty &lt;logger&gt; je:
[&lt;class&gt;,]&lt;assembly&gt;[,&lt;options&gt;][;&lt;parameters&gt;]
Syntaxe hodnoty &lt;logger class&gt; je:
[&lt;partial or full namespace&gt;.]&lt;logger class name&gt;
Syntaxe hodnoty &lt;logger assembly&gt; je:
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Parametry protokolovacího nástroje určují, jak MSBuild vytvoří protokolovací nástroj.
Parametry &lt;param_protok_nást&gt; 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
@ -1054,7 +1048,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
</target>
<note>

75
src/MSBuild/Resources/xlf/Strings.de.xlf сгенерированный
Просмотреть файл

@ -105,12 +105,11 @@
This flag is experimental and may not work as intended.
</source>
<target state="translated"> -reportFileAccesses[:True|Falsch]
Führt dazu, dass MSBuild Dateizugriffe an alle konfigurierten
meldet
Projektcache-Plug-Ins.
<target state="translated"> -reportFileAccesses[:True|False]
Führt dazu, dass MSBuild Dateizugriffe auf ein beliebiges konfiguriertes
Projektcache-Plug-In meldet.
Dieses Kennzeichen ist experimentell und funktioniert möglicherweise nicht wie vorgesehen.
Dieses Flag ist experimentell und funktioniert möglicherweise nicht wie vorgesehen.
</target>
<note>
LOCALIZATION: "-reportFileAccesses" should not be localized.
@ -235,7 +234,7 @@
value that comes from a response file.
</source>
<target state="translated"> -interactive[:True|False]
Weist darauf hin, dass für Aktionen im Build eine
Weist darauf hin, dass für Aktionen im Build eine
Interaktion mit dem Benutzer zugelassen ist. Verwenden Sie dieses Argument
in einem automatisierten Szenario, in dem keine Interaktivität
erwartet wird.
@ -404,7 +403,7 @@ Dies ist ein restriktiverer Modus von MSBuild, da er erfordert,
</source>
<target state="translated"> -warnNotAsError[:code[;code2]]
Liste der Warnungscodes, die nicht als Fehler behandelt werden.
Semikolon oder Komma zum Trennen
Semikolon oder Komma zum Trennen
mehrerer Warnungscodes verwenden. Hat keine Auswirkungen, wenn der Switch -warnaserror
nicht festgelegt ist.
@ -472,8 +471,8 @@ Dies ist ein restriktiverer Modus von MSBuild, da er erfordert,
Antwortdateien anzugeben, geben Sie jede Antwortdatei
gesondert an.
Alle Antwortdateien mit dem Name "msbuild.rsp" werden automatisch
in den folgenden Speicherorten verwendet:
Alle Antwortdateien mit dem Name "msbuild.rsp" werden automatisch
in den folgenden Speicherorten verwendet:
(1) Verzeichnis von "msbuild.exe"
(2) Verzeichnis des ersten erstellten Projekts oder Projektmappe
</target>
@ -564,16 +563,16 @@ Dies ist ein restriktiverer Modus von MSBuild, da er erfordert,
-logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
-logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML
</source>
<target state="translated"> -logger:&lt;Protokollierung&gt; Mithilfe dieser Protokollierung werden Ereignisse von MSBuild protokolliert. Um mehrere Protokollierungen anzugeben,
<target state="translated"> -logger:&lt;Protokollierung&gt; Mithilfe dieser Protokollierung werden Ereignisse von MSBuild protokolliert. Um mehrere Protokollierungen anzugeben,
wird jede Protokollierung gesondert angegeben.
Die Syntax für die &lt;Protokollierung&gt; lautet:
[&lt;Klasse&gt;,]&lt;Assembly&gt;[,&lt;Optionen&gt;][;&lt;Parameter&gt;]
[&lt;Klasse&gt;,]&lt;assembly&gt;[,&lt;Optionen&gt;][;&lt;Parameter&gt;]
Die Syntax für die &lt;Protokollierungsklasse&gt; lautet:
[&lt;Teilweiser oder vollständiger Namespace&gt;.]&lt;Name der Protokollierungsklasse&gt;
Die Syntax für die &lt;Protokollierungsassembly&gt; lautet:
{&lt;Assemblyname&gt;[,&lt;strong name&gt;] | &lt;Assemblydatei&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Die Protokollierungsoptionen geben an, wie MSBuild die Protokollierung erstellt.
Die &lt;Protokollierungsparameter&gt; sind optional und werden genau
Die &lt;Protokollierungsparameter&gt; sind optional und werden genau
so an die Protokollierung übergeben, wie sie eingegeben wurden. (Kurzform: -l)
Beispiele:
-logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
@ -668,7 +667,7 @@ Hinweis: Ausführlichkeit der Dateiprotokollierungen
WarningsOnly: Zeigt nur Warnungen an.
NoItemAndPropertyList: Zeigt keine Liste der Elemente
und Eigenschaften am Anfang jeder Projekterstellung an.
ShowCommandLine: Zeigt TaskCommandLineEvent-Meldungen an.
ShowCommandLine: Zeigt TaskCommandLineEvent-Meldungen an.
ShowTimestamp: Zeigt den Timestamp als Präfix einer
Meldung an.
ShowEventId: Zeigt die eventId für gestartete
@ -844,18 +843,18 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
-dl:MyLogger,C:\My.dll*ForwardingLogger,C:\Logger.dll
</source>
<target state="translated"> -distributedlogger:&lt;Zentrale Protokollierung&gt;*&lt;Weiterleitende Protokollierung&gt;
Mithilfe dieser Protokollierung werden Ereignisse von MSBuild protokolliert, wobei an jeden Knoten eine andere
Protokollierungsinstanz angefügt wird. Um mehrere Protokollierungen anzugeben, wird jede Protokollierung
Mithilfe dieser Protokollierung werden Ereignisse von MSBuild protokolliert, wobei an jeden Knoten eine andere
Protokollierungsinstanz angefügt wird. Um mehrere Protokollierungen anzugeben, wird jede Protokollierung
gesondert angegeben.
(Kurzform -dl)
Die Syntax für die &lt;Protokollierung&gt; lautet:
[&lt;Klasse&gt;,]&lt;Assembly&gt;[,&lt;Optionen&gt;][;&lt;Parameter&gt;]
[&lt;Klasse&gt;,]&lt;assembly&gt;[,&lt;Optionen&gt;][;&lt;Parameter&gt;]
Die Syntax für die &lt;Protokollierungsklasse&gt; lautet:
[&lt;Teilweiser oder vollständiger Namespace&gt;.]&lt;Name der Protokollierungsklasse&gt;
Die Syntax für die &lt;Protokollierungsassembly&gt; lautet:
{&lt;Assemblyname&gt;[,&lt;strong name&gt;] | &lt;Assemblydatei&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Die Protokollierungsoptionen geben an, wie MSBuild die Protokollierung erstellt.
Die &lt;Protokollierungsparameter&gt; sind optional und werden genau
Die &lt;Protokollierungsparameter&gt; sind optional und werden genau
so an die Protokollierung übergeben, wie sie eingegeben wurden. (Kurzform: -l)
Beispiele:
-dl:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
@ -880,8 +879,8 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
-ignoreProjectExtensions:.sln
</source>
<target state="translated"> -ignoreprojectextensions:&lt;Erweiterungen&gt;
Liste der zu ignorierenden Erweiterungen, wenn die zu erstellende
Projektdatei ermittelt wird. Verwenden Sie ein Semikolon oder ein Komma,
Liste der zu ignorierenden Erweiterungen, wenn die zu erstellende
Projektdatei ermittelt wird. Verwenden Sie ein Semikolon oder ein Komma,
um mehrere Erweiterungen voneinander zu trennen.
(Kurzform: -ignore)
Beispiel:
@ -907,8 +906,8 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
</source>
<target state="translated"> -toolsversion:&lt;Version&gt;
Die Version des MSBuild-Toolsets (Aufgaben, Ziele usw.),
die während des Erstellens zu verwenden ist. Diese Version überschreibt die
von einzelnen Projekten angegebenen Versionen. (Kurzform:
die während des Erstellens zu verwenden ist. Diese Version überschreibt die
von einzelnen Projekten angegebenen Versionen. (Kurzform:
-tv)
Beispiel:
-toolsversion:3.5
@ -967,14 +966,14 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
<target state="translated"> -distributedFileLogger
Protokolliert die Erstellungsausgabe in mehrere Dateien, eine Protokolldatei
pro MSBuild-Knoten. Der anfängliche Speicherort für diese Dateien ist
das aktuelle Verzeichnis. Standardmäßig werden die Dateien
das aktuelle Verzeichnis. Standardmäßig werden die Dateien
"MSBuild&lt;Knoten-ID&gt;.log" benannt. Der Speicherort der Datei und
andere Parameter für fileLogger können durch das Hinzufügen
andere Parameter für fileLogger können durch das Hinzufügen
des Schalters "-fileLoggerParameters" angegeben werden.
Wenn mithilfe des fileLoggerParameters-Parameters ein Protokolldateiname festgelegt wurde,
verwendet die verteilte Protokollierung den Dateinamen als
Vorlage und fügt die Knoten-ID an diesen Dateinamen an,
verwendet die verteilte Protokollierung den Dateinamen als
Vorlage und fügt die Knoten-ID an diesen Dateinamen an,
um für jeden Knoten eine Protokolldatei zu erstellen.
</target>
<note>
@ -1018,31 +1017,31 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
</source>
<target state="translated"> -fileLoggerParameters[n]:&lt;Parameter&gt;
Gibt zusätzliche Parameter für Dateiprotokollierungen an.
Dieser Schalter bedeutet, dass der entsprechende
Dieser Schalter bedeutet, dass der entsprechende
Schalter "-fileLogger[n]" ebenfalls vorhanden ist.
"n" (optional) kann eine Zahl von 1–9 sein.
"-fileLoggerParameters" wird auch von verteilten
"-fileLoggerParameters" wird auch von verteilten
Dateiprotokollierungen verwendet (siehe Beschreibung zu "-distributedFileLogger").
(Kurzform: -flp[n])
Es sind dieselben Parameter wie für die Konsolenprotokollierung
verfügbar. Einige zusätzliche Parameter:
LogFile: Pfad der Protokolldatei, in die das
LogFile: Pfad der Protokolldatei, in die das
Buildprotokoll geschrieben wird.
Append: Gibt an, ob das Buildprotokoll erweitert oder
Append: Gibt an, ob das Buildprotokoll erweitert oder
oder überschrieben wird. Mit diesem Schalter
wird das Buildprotokoll an die Protokolldatei angefügt;
Ohne diesen Schalter wird der Inhalt
der vorhandenen Protokolldatei überschrieben.
Ohne diesen Schalter wird der Inhalt
der vorhandenen Protokolldatei überschrieben.
Standardmäßig wird die Protokolldatei nicht erweitert.
Encoding: Gibt die Codierung der Datei an,
Encoding: Gibt die Codierung der Datei an,
z. B. UTF-8, Unicode oder ASCII.
Die Standardeinstellung für "verbosity" ist "Detailed".
Beispiele:
-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
</target>
<note>
@ -1068,7 +1067,7 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
<target state="translated"> -nodeReuse:&lt;Parameter&gt;
Aktiviert oder deaktiviert die Wiederverwendung von MSBuild-Knoten.
Die Parameter lauten:
True: Knoten bleiben nach dem Abschluss der Erstellung
True: Knoten bleiben nach dem Abschluss der Erstellung
erhalten und werden bei folgenden Erstellungen wiederverwendet (Standardeinstellung).
False: Knoten bleiben nach dem Abschluss der Erstellung nicht erhalten.
(Kurzform: -nr)
@ -2063,4 +2062,4 @@ Dieses Protokollierungsformat ist standardmäßig aktiviert.
</trans-unit>
</body>
</file>
</xliff>
</xliff>

41
src/MSBuild/Resources/xlf/Strings.es.xlf сгенерированный
Просмотреть файл

@ -109,7 +109,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.
</target>
<note>
LOCALIZATION: "-reportFileAccesses" should not be localized.
@ -564,18 +564,14 @@ Esta marca es experimental y puede que no funcione según lo previsto.
-logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML
</source>
<target state="translated"> -logger:&lt;registrador&gt; 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 &lt;registrador&gt; es:
[&lt;clase&gt;,]&lt;ensamblado&gt;[,&lt;opciones&gt;][;&lt;parámetros&gt;]
[&lt;clase&gt;,]&lt;assembly&gt;[,&lt;opciones&gt;][;&lt;parámetros&gt;]
La sintaxis de &lt;clase del registrador&gt; es:
[&lt;espacio de nombres parcial o completo&gt;.]&lt;nombre de
clase del registrador&gt;
La sintaxis de &lt;ensamblado del registrador&gt; es:
{&lt;nombre del ensamblado&gt;[,&lt;strong name&gt;] | &lt;archivo
de ensamblado&gt;}
Las opciones del registrador especifican cómo crea MSBuild
el registrador.
[&lt;espacio de nombres parcial o completo&gt;.]&lt;nombre de clase del registrador&gt;
La sintaxis de &lt;ensamblado del registrador&gt; es:
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Las opciones del registrador especifican cómo crea MSBuild el registrador.
Los &lt;parámetros del registrador&gt; son opcionales y se pasan
al registrador tal como se escriben. (Forma corta: -l)
Ejemplos:
@ -674,7 +670,7 @@ Esta marca es experimental y puede que no funcione según lo previsto.
ShowCommandLine: muestra los mensajes de TaskCommandLineEvent
ShowTimestamp: muestra la marca de tiempo como un prefijo en los
mensajes.
ShowEventId: muestra el identificador de evento para los eventos iniciados, los eventos
ShowEventId: muestra el identificador de evento para los eventos iniciados, los eventos
finalizados y los mensajes.
ForceNoAlign: no alinea el texto al tamaño del
búfer de la consola
@ -852,15 +848,12 @@ Esta marca es experimental y puede que no funcione según lo previsto.
Para especificar varios registradores, especifique cada uno
de ellos por separado. (Forma corta: -dl)
La sintaxis de &lt;registrador&gt; es:
[&lt;clase&gt;,]&lt;ensamblado&gt;[,&lt;opciones&gt;][;&lt;parámetros&gt;]
[&lt;clase&gt;,]&lt;assembly&gt;[,&lt;opciones&gt;][;&lt;parámetros&gt;]
La sintaxis de &lt;clase del registrador&gt; es:
[&lt;espacio de nombres parcial o completo&gt;.]&lt;nombre
de la clase del registrador&gt;
[&lt;espacio de nombres parcial o completo&gt;.]&lt;nombre de la clase del registrador&gt;
La sintaxis de &lt;ensamblado del registrador&gt; es:
{&lt;nombre del ensamblado&gt;[,&lt;strong name&gt;] | &lt;archivo
de ensamblado&gt;}
Las opciones del registrador especifican cómo crea MSBuild
el registrador.
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Las opciones del registrador especifican cómo crea MSBuild el registrador.
Los &lt;parámetros del registrador&gt; son opcionales y se pasan
al registrador tal como se escriben. (Forma corta: -l)
Ejemplos:
@ -886,8 +879,8 @@ Esta marca es experimental y puede que no funcione según lo previsto.
-ignoreProjectExtensions:.sln
</source>
<target state="translated"> -ignoreProjectExtensions:&lt;extensiones&gt;
Lista de extensiones que se omiten al determinar el
archivo del proyecto que se va a compilar. Use el carácter de
Lista de extensiones que se omiten al determinar el
archivo del proyecto que se va a compilar. Use el carácter de
punto y coma o coma para separar varias extensiones.
(Forma corta: -ignore)
Ejemplo:
@ -1038,9 +1031,9 @@ Esta marca es experimental y puede que no funcione según lo previsto.
sobrescribirá el archivo de registro. Si se establece el
modificador, se adjunta el registro de compilación al archivo de registro;
Si no se especifica el modificador, se sobrescribe
el contenido del archivo de registro existente.
el contenido del archivo de registro existente.
El valor predeterminado es adjuntar el archivo de registro.
Encoding: especifica la codificación del archivo,
Encoding: especifica la codificación del archivo,
por ejemplo, UTF-8, Unicode o ASCII
El nivel de detalle predeterminado es Detailed.
Ejemplos:
@ -2067,4 +2060,4 @@ Esta marca es experimental y puede que no funcione según lo previsto.
</trans-unit>
</body>
</file>
</xliff>
</xliff>

18
src/MSBuild/Resources/xlf/Strings.fr.xlf сгенерированный
Просмотреть файл

@ -107,7 +107,7 @@
</source>
<target state="translated"> -reportFileAccesses[:True|False]
Entraîne le signalement par MSBuild des accès par fichiers aux plug-ins
cache de projet configurés.
de cache de projet configurés.
Cet indicateur est expérimental et peut ne pas fonctionner comme prévu.
</target>
@ -570,7 +570,7 @@ Cet indicateur est expérimental et peut ne pas fonctionner comme prévu.
Syntaxe de &lt;classe de journalisation&gt; :
[&lt;espace de noms partiels ou complets&gt;.]&lt;nom de la classe de journalisation&gt;
Syntaxe de &lt;assembly de journalisation&gt; :
{&lt;nom d'assembly&gt;[,&lt;strong name&gt;] | &lt;fichier d'assembly&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Les options de journalisation spécifient la façon dont MSBuild crée le journaliseur.
Les &lt;paramètres de journalisation&gt; sont facultatifs. Ils sont passés
au journaliseur tels que vous les avez tapés. (Forme abrégée : -l)
@ -852,7 +852,7 @@ Remarque : verbosité des enregistreurs dévénements de fichiers
Syntaxe de &lt;classe de journalisation&gt; :
[&lt;espace de noms partiels ou complets&gt;.]&lt;nom de la classe de journalisation&gt;
Syntaxe de &lt;assembly de journalisation&gt; :
{&lt;nom d'assembly&gt;[,&lt;strong name&gt;] | &lt;fichier d'assembly&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Les options de journalisation spécifient la façon dont MSBuild crée le journaliseur.
Les &lt;paramètres de journalisation&gt; sont facultatifs. Ils sont passés
au journaliseur tels que vous les avez tapés. (Forme abrégée : -l)
@ -1316,7 +1316,7 @@ Remarque : verbosité des enregistreurs dévénements de fichiers
</trans-unit>
<trans-unit id="MissingGetItemError">
<source>MSBUILD : error MSB1014: Must provide an item name for the getItem switch.</source>
<target state="new">MSBUILD : error MSB1014: Must provide an item name for the getItem switch.</target>
<target state="translated">MSBUILD : error MSB1014: Doit fournir un nom d'élément pour le commutateur getItem.</target>
<note>
{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".
@ -1325,7 +1325,7 @@ Remarque : verbosité des enregistreurs dévénements de fichiers
</trans-unit>
<trans-unit id="MissingGetPropertyError">
<source>MSBUILD : error MSB1010: Must provide a property name for the getProperty switch.</source>
<target state="new">MSBUILD : error MSB1010: Must provide a property name for the getProperty switch.</target>
<target state="translated">MSBUILD : error MSB1010: Doit fournir un nom de propriété pour le commutateur getProperty.</target>
<note>
{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".
@ -1334,7 +1334,7 @@ Remarque : verbosité des enregistreurs dévénements de fichiers
</trans-unit>
<trans-unit id="MissingGetTargetResultError">
<source>MSBUILD : error MSB1017: Must provide a target name for the getTargetResult switch.</source>
<target state="new">MSBUILD : error MSB1017: Must provide a target name for the getTargetResult switch.</target>
<target state="translated">MSBUILD : error MSB1017: Doit fournir un nom de cible pour le commutateur getTargetResult.</target>
<note>
{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".
@ -1621,7 +1621,7 @@ Remarque : verbosité des enregistreurs dévénements de fichiers
</trans-unit>
<trans-unit id="SolutionBuildInvalidForCommandLineEvaluation">
<source>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.</source>
<target state="new">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.</target>
<target state="translated">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.</target>
<note>
{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.
@ -2035,7 +2035,7 @@ fois plus petit que le journal
<target state="translated"> -profileEvaluation:&lt;fichier&gt;
Profile l'évaluation MSBuild et écrit le résultat
dans le fichier spécifié. Si l'extension du fichier spécifié
est '.md', le résultat est généré au format Markdown.
est '.md', le résultat est généré au format Markdown.
Sinon, un fichier de valeurs séparées par des tabulations est généré.
</target>
<note />
@ -2080,4 +2080,4 @@ fois plus petit que le journal
</trans-unit>
</body>
</file>
</xliff>
</xliff>

38
src/MSBuild/Resources/xlf/Strings.it.xlf сгенерированный
Просмотреть файл

@ -106,10 +106,10 @@
This flag is experimental and may not work as intended.
</source>
<target state="translated"> -reportFileAccesses[:True|False]
Fa in modo che MSBuild segnali gli accessi ai file a qualsiasi file configurato
Fa in modo che MSBuild segnali gli accessi ai file a qualsiasi
plug-in della cache del progetto.
Questo flag è sperimentale e potrebbe non funzionare come previsto.
Questo flag è sperimentale e potrebbe non funzionare come previsto.
</target>
<note>
LOCALIZATION: "-reportFileAccesses" should not be localized.
@ -479,7 +479,7 @@ Questo flag è sperimentale e potrebbe non funzionare come previsto.
separatamente.
Qualsiasi file di risposta denominato "msbuild.rsp" viene usato
automaticamente dai percorsi seguenti:
automaticamente dai percorsi seguenti:
(1) la directory di msbuild.exe
(2) la directory della prima compilazione di soluzione o progetto
</target>
@ -576,8 +576,8 @@ Questo flag è sperimentale e potrebbe non funzionare come previsto.
[&lt;classe&gt;,]&lt;assembly&gt;[,&lt;opzioni&gt;][;&lt;parametri&gt;]
La sintassi di &lt;classe logger&gt; è la seguente:
[&lt;spazio dei nomi parziale o completo&gt;.]&lt;nome classe logger&gt;
La sintassi di &lt;assembly logger&gt; è la seguente:
{&lt;nome assembly&gt;[,&lt;strong name&gt;] | &lt;file di assembly&gt;}
La sintassi di &lt;logger assembly&gt; è la seguente:
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Le opzioni di logger consentono di specificare in che modo MSBuild crea il logger.
I &lt;parametri logger&gt; sono facoltativi e vengono passati al
logger così come vengono digitati. Forma breve: -l.
@ -858,8 +858,8 @@ Nota: livello di dettaglio dei logger di file
[&lt;classe&gt;,]&lt;assembly&gt;[,&lt;opzioni&gt;][;&lt;parametri&gt;]
La sintassi di &lt;classe logger&gt; è la seguente:
[&lt;spazio dei nomi parziale o completo&gt;.]&lt;nome classe logger&gt;
La sintassi di &lt;assembly logger&gt; è la seguente:
{&lt;nome assembly&gt;[,&lt;strong name&gt;] | &lt;file di assembly&gt;}
La sintassi di &lt;logger assembly&gt; è la seguente:
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Le opzioni di logger consentono di specificare in che modo MSBuild crea il logger.
I &lt;parametri logger&gt; sono facoltativi e vengono passati al
logger così come vengono digitati. Forma breve: -l
@ -978,9 +978,8 @@ Nota: livello di dettaglio dei logger di file
è la directory corrente. Per impostazione predefinita, ai
file viene assegnato il nome "MSBuild&lt;idnodo&gt;.log". Il
percorso dei file e altri parametri di fileLogger possono
essere specificati aggiungendo l'opzione
essere specificati aggiungendo l'opzione "-fileLoggerParameters".
"-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
@ -2050,16 +2049,15 @@ Esegue la profilatura della valutazione di MSBuild e scrive
-restoreProperty:IsRestore=true;MyProperty=value
</source>
<target state="translated"> -restoreProperty:&lt;n&gt;=&lt;v&gt;
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.
&lt;v&gt; rappresenta il nome della proprietà e &lt;v&gt; 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.
&lt;v&gt; rappresenta il nome della proprietà e &lt;v&gt; 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
</target>
<note>
LOCALIZATION: "-restoreProperty" and "-rp" should not be localized.
@ -2078,4 +2076,4 @@ Esegue la profilatura della valutazione di MSBuild e scrive
</trans-unit>
</body>
</file>
</xliff>
</xliff>

14
src/MSBuild/Resources/xlf/Strings.ja.xlf сгенерированный
Просмотреть файл

@ -107,7 +107,7 @@
</source>
<target state="translated"> -reportFileAccesses[:True|False]
MSBuild が、構成されているプロジェクト キャッシュ プラグインへの
ファイル アクセスを報告します。
ファイル アクセスを報告するようにします。
このフラグは実験的なものであり、意図したとおりに動作しない可能性があります。
</target>
@ -128,7 +128,7 @@
</trans-unit>
<trans-unit id="InvalidTerminalLoggerValue">
<source>MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0}</source>
<target state="translated">MSBUILD : error MSB1065: ターミナル ロガーの値が無効です。'auto'、'true'、または 'false' のいずれかである必要があります。 {0}</target>
<target state="translated">MSBUILD : error MSB1065: ターミナル ロガーの値が無効です。'auto'、'true'、または 'false' のいずれかである必要があります。{0}</target>
<note>
{StrBegin="MSBUILD : error MSB1065: "}
UE: This message does not need in-line parameters because the exception takes care of displaying the invalid arg.
@ -341,7 +341,7 @@
</source>
<target state="translated"> -targets[:file]
使用可能なターゲットの一覧を、実際のビルド処理を
実行せずに出力します。既定では、出力はコンソール
実行せずに出力します。既定では、出力はコンソール
ウィンドウに書き込まれます。出力ファイルへのパスを
指定した場合は、代わりにそのファイルが使用されます。
(短い形式:-ts)
@ -601,7 +601,7 @@
<target state="translated"> -verbosity:&lt;level&gt; この量の情報をイベント ログに表示します。
利用可能な詳細レベル: q[uiet], m[inimal]、
n[ormal], d[etailed]、および diag[nostic]。(短縮形: -v)
例:
例:
-verbosity:quiet
注意: ファイル ロガーの詳細度は
@ -657,7 +657,7 @@
</source>
<target state="translated"> -consoleLoggerParameters:&lt;parameters&gt;
コンソール ロガーへのパラメーターです。(短縮形: -clp)
利用可能なパラメーター:
利用可能なパラメーター:
PerformanceSummary--タスク、ターゲット、プロジェクトにかかった時間を
表示します。
Summary--最後にエラーと警告の概要を表示します。
@ -1974,7 +1974,7 @@
(Short form: -r)
</source>
<target state="translated"> -restore[:True|False]
他のターゲットをビルドする前に Restore
他のターゲットをビルドする前に Restore
という名前のターゲットを実行し、これらのターゲットのビルドが
最新の復元ビルド ロジックを使用するようにします。
これは、パッケージ ツリーでパッケージをビルド
@ -2062,4 +2062,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>

8
src/MSBuild/Resources/xlf/Strings.ko.xlf сгенерированный
Просмотреть файл

@ -566,11 +566,11 @@
<target state="translated"> -logger:&lt;로거&gt; 이 로거를 사용하여 MSBuild의 이벤트를 기록합니다. 여러
로거를 지정하려면 각 로거를 개별적으로 지정합니다.
&lt;로거&gt; 구문은 다음과 같습니다.
[&lt;클래스&gt;,]&lt;어셈블리&gt;[,&lt;옵션&gt;][;&lt;매개 변수&gt;]
[&lt;클래스&gt;,]&lt;assembly&gt;[,&lt;옵션&gt;][;&lt;매개 변수&gt;]
&lt;로거 클래스&gt; 구문은 다음과 같습니다.
[&lt;부분 또는 전체 네임스페이스&gt;.]&lt;로거 클래스 이름&gt;
&lt;로거 어셈블리&gt; 구문은 다음과 같습니다.
{&lt;어셈블리 이름&gt;[,&lt;strong name&gt;] | &lt;어셈블리 파일&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
로거 옵션은 MSBuild가 로거를 만드는 방법을 지정합니다.
&lt;로거 매개 변수&gt;는 선택 사항이고 입력한 대로 정확히
로거에 전달됩니다. (약식: -l)
@ -848,11 +848,11 @@
로거를 지정하려면 각 로거를 개별적으로 지정합니다.
(약식 -dl)
&lt;로거&gt; 구문은 다음과 같습니다.
[&lt;클래스&gt;,]&lt;어셈블리&gt;[,&lt;옵션&gt;][;&lt;매개 변수&gt;]
[&lt;클래스&gt;,]&lt;assembly&gt;[,&lt;옵션&gt;][;&lt;매개 변수&gt;]
&lt;로거 클래스&gt; 구문은 다음과 같습니다.
[&lt;부분 또는 전체 네임스페이스&gt;.]&lt;로거 클래스 이름&gt;
&lt;로거 어셈블리&gt; 구문은 다음과 같습니다.
{&lt;어셈블리 이름&gt;[,&lt;strong name&gt;] | &lt;어셈블리 파일&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
로거 옵션은 MSBuild가 로거를 만드는 방법을 지정합니다.
&lt;로거 매개 변수&gt;는 선택 사항이고
입력한 대로 정확히 로거에 전달됩니다. (약식: -l)

55
src/MSBuild/Resources/xlf/Strings.pl.xlf сгенерированный
Просмотреть файл

@ -106,10 +106,10 @@
This flag is experimental and may not work as intended.
</source>
<target state="translated"> -reportFileAccesses[:True|False]
Powoduje, że program MSBuild zgłasza dostępy do wszystkich skonfigurowanych plików
Powoduje, że platforma MSBuild zgłasza dostępy do wszystkich skonfigurowanych
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.
</target>
<note>
LOCALIZATION: "-reportFileAccesses" should not be localized.
@ -240,7 +240,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
interakcyjność nie jest oczekiwana.
Podanie parametru -interactive jest równoznaczne
z podaniem parametru -interactive:true. Użyj tego
parametru, aby przesłonić wartość pochodzącą z pliku
parametru, aby przesłonić wartość pochodzącą z pliku
odpowiedzi.
</target>
<note>
@ -275,7 +275,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
Po ustawieniu na wartość „MessageUponIsolationViolation” (lub jej skróconą
formę „Message”), serializowane są tylko wyniki z celów najwyższego poziomu
, jeśli przełącznik -outputResultsCache jest
dostarczony. Ma to na celu zmniejszenie szans na to, że cel
dostarczony. Ma to na celu zmniejszenie szans na to, że cel
naruszy izolację w projekcie zależnym przy użyciu
nieprawidłowego stanu z powodu jego zależności od buforowanego celu
którego efekty uboczne nie byłyby brane pod uwagę.
@ -309,7 +309,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
This flag is experimental and may not work as intended.
</source>
<target state="translated"> -graphBuild[:True|False]
Powoduje, że program MSBuild tworzy i kompiluje graf
Powoduje, że program MSBuild tworzy i kompiluje graf
projektu.
Tworzenie grafu obejmuje identyfikowanie odwołań do
@ -477,7 +477,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
osobno.
Wszelkie pliki odpowiedzi o nazwie „msbuild.rsp” będą automatycznie
wykorzystywane z następujących lokalizacji:
wykorzystywane z następujących lokalizacji:
(1) katalog programu msbuild.exe
(2) katalog pierwszej kompilacji projektu lub rozwiązania
</target>
@ -568,17 +568,14 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
-logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
-logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML
</source>
<target state="translated"> -logger:&lt;rejestrator&gt; 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.
<target state="translated"> -logger:&lt;rejestrator&gt; 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 &lt;rejestrator&gt;:
[&lt;klasa rejestratora&gt;,]&lt;zestaw rejestratora&gt;
[;&lt;parametry rejestratora&gt;]
[&lt;klasa rejestratora&gt;,]&lt;assembly&gt; [;&lt;parametry rejestratora&gt;]
Składnia elementu &lt;klasa rejestratora&gt;:
[&lt;częściowa lub pełna przestrzeń nazw&gt;.]
&lt;nazwa klasy rejestratora&gt;
[&lt;częściowa lub pełna przestrzeń nazw&gt;.] &lt;nazwa klasy rejestratora&gt;
Składnia elementu &lt;zestaw rejestratora&gt;:
{&lt;nazwa zestawu&gt;[,&lt;strong name&gt;] | &lt;plik zestawu&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Wartości &lt;parametry rejestratora&gt; są opcjonalne i są
przekazywane do rejestratora dokładnie tak, jak zostały
wpisane. (Krótka wersja: -l)
@ -799,7 +796,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
to False, this sets it to True. (short form: -irc)
</source>
<target state="translated"> -inputResultsCaches:&lt;cacheFile&gt;...
Rozdzielona średnikami lista wejściowych plików pamięci podręcznej, z których MSBuild
Rozdzielona średnikami lista wejściowych plików pamięci podręcznej, z których MSBuild
odczyta wyniki kompilacji. Jeśli jest ustawione -isolateProjects
na wartość Fałsz, ta opcja ustawia ją na wartość Prawda. (skrócona forma: -irc)
</target>
@ -857,11 +854,11 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
wiele rejestratorów, określ każdy z nich osobno.
(Krótka wersja: -dl)
Składnia elementu &lt;rejestrator&gt;:
[&lt;klasa rejestratora&gt;,]&lt;zestaw rejestratora&gt;[;&lt;parametry rejestratora&gt;]
[&lt;klasa rejestratora&gt;,]&lt;assembly&gt;[;&lt;parametry rejestratora&gt;]
Składnia elementu &lt;klasa rejestratora&gt;:
[&lt;częściowa lub pełna przestrzeń nazw&gt;.]&lt;nazwa klasy rejestratora&gt;
Składnia elementu &lt;zestaw rejestratora&gt;:
{&lt;nazwa zestawu&gt;[,&lt;strong name&gt;] | &lt;plik zestawu&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Wartości &lt;parametry rejestratora&gt; są opcjonalne i są
przekazywane do rejestratora dokładnie tak, jak zostały
wpisane. (Krótka wersja: -l)
@ -973,13 +970,11 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
create a log file for each node.
</source>
<target state="translated"> -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&lt;identyfikator węzła&gt;.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
@ -1037,7 +1032,7 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
Dostępne są parametry takie same, jak podane dla rejestratora
konsoli. Dostępne są również dodatkowe parametry:
LogFile — ścieżka do pliku dziennika, w którym będzie
zapisywany dziennik kompilacji.
zapisywany dziennik kompilacji.
Append — określa, czy plik dziennika kompilacji zostanie
dołączony do pliku dziennika, czy go zastąpi.
Ustawienie tego przełącznika powoduje dołączenie dziennika kompilacji
@ -1051,8 +1046,8 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami.
-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
</target>
<note>
@ -1986,10 +1981,10 @@ dzienników tekstowych i wykorzystać w innych narzędziach
</source>
<target state="translated"> -restore[:True|False]
Uruchamia element docelowy o nazwie Restore przed skompilowaniem
innych elementów docelowych i zapewnia, że kompilacja tych
elementów docelowych korzysta z najnowszej logiki przywróconej
kompilacji. Jest to przydatne, gdy drzewo projektu wymaga
przywrócenia pakietów przed ich skompilowaniem. Podanie parametru
innych elementów docelowych i zapewnia, że kompilacja tych
elementów docelowych korzysta z najnowszej logiki przywróconej
kompilacji. Jest to przydatne, gdy drzewo projektu wymaga
przywrócenia pakietów przed ich skompilowaniem. Podanie parametru
-restore jest równoznaczne z podaniem parametru -restore:True.
Za pomocą tego parametru można przesłonić wartość pochodzącą
z pliku odpowiedzi.
@ -2073,4 +2068,4 @@ dzienników tekstowych i wykorzystać w innych narzędziach
</trans-unit>
</body>
</file>
</xliff>
</xliff>

25
src/MSBuild/Resources/xlf/Strings.pt-BR.xlf сгенерированный
Просмотреть файл

@ -106,8 +106,9 @@
This flag is experimental and may not work as intended.
</source>
<target state="translated"> -reportFileAccesses[:True|False]
Faz com que o MSBuild relate acessos a arquivos para qualquer plug-in
de cache de projeto configurado.
Faz com que o MSBuild relate acessos a arquivos a qualquer
configurado
plug-ins de cache do projeto.
Este sinalizador é experimental e pode não funcionar conforme o esperado.
</target>
@ -751,10 +752,10 @@ arquivo de resposta.
MSBuild will use up to the number of processors on the
computer. (Short form: -m[:n])
</source>
<target state="translated"> -maxCpuCount[:n] Especifica o número máximo de processos simultâneos a serem
<target state="translated"> -maxCpuCount[:n] Especifica o número máximo de processos simultâneos a serem
compilados. Se a opção não for usada, o valor padrão
usado será 1. Se a opção for usada sem um valor, o
MSBuild usará o número de processadores do
MSBuild usará o número de processadores do
computador. (Forma abreviada: -m[:n])
</target>
<note>
@ -772,7 +773,7 @@ arquivo de resposta.
<target state="translated">Exemplos:
MSBuild MyApp.sln -t:Rebuild -p:Configuration=Release
MSBuild MyApp.csproj -t:Clean
MSBuild MyApp.csproj -t:Clean
-p:Configuration=Debug;TargetFrameworkVersion=v3.5
</target>
<note>
@ -933,12 +934,12 @@ arquivo de resposta.
10 file loggers to be attached. (Short form: -fl[n])
</source>
<target state="translated"> -fileLogger[n] Registra a saída do build em um arquivo. Por padrão,
o arquivo está no diretório atual e tem o nome
o arquivo está no diretório atual e tem o nome
"msbuild[n].log". Os eventos de todos os nós são combinados em
um único log. A localização do arquivo e outros
parâmetros do fileLogger pode ser especificada por meio
parâmetros do fileLogger pode ser especificada por meio
do acréscimo da opção "-fileLoggerParameters[n]".
"n", se presente, pode ser um dígito de 1 a 9, permitindo que até
"n", se presente, pode ser um dígito de 1 a 9, permitindo que até
10 agentes de arquivo sejam anexados. (Forma abreviada: -fl[n])
</target>
<note>
@ -1091,14 +1092,14 @@ arquivo de resposta.
Example:
-pp:out.txt
</source>
<target state="translated"> -preprocess[:arquivo]
<target state="translated"> -preprocess[:arquivo]
Cria um arquivo de projeto único e agregado
embutindo todos os arquivos que poderiam ser importados durante um
build, com seus limites marcados. Isso pode ser
útil para descobrir quais arquivos são importados,
de qual localização e como contribuirão para
o build. Por padrão, a saída é gravada na
janela do console. Se o caminho de um arquivo de saída
janela do console. Se o caminho de um arquivo de saída
for fornecido, ele será usado.
(Forma abreviada: -pp)
Exemplo:
@ -1821,7 +1822,7 @@ arquivo de resposta.
-warnAsError:MSB4130
Quando um aviso for tratado como um erro, o destino continuará
a ser executado como se ele fosse um aviso, mas o
a ser executado como se ele fosse um aviso, mas o
build geral falhará.
</target>
<note>
@ -2063,4 +2064,4 @@ arquivo de resposta.
</trans-unit>
</body>
</file>
</xliff>
</xliff>

2
src/MSBuild/Resources/xlf/Strings.ru.xlf сгенерированный
Просмотреть файл

@ -128,7 +128,7 @@
</trans-unit>
<trans-unit id="InvalidTerminalLoggerValue">
<source>MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0}</source>
<target state="new">MSBUILD : error MSB1065: Terminal logger value is not valid. It should be one of 'auto', 'true', or 'false'. {0}</target>
<target state="translated">MSBUILD : error MSB1065: Недопустимое значение средства ведения журнала терминала. Это должно быть одно из следующих значений: "auto", "ИСТИНА" или "ЛОЖЬ". {0}</target>
<note>
{StrBegin="MSBUILD : error MSB1065: "}
UE: This message does not need in-line parameters because the exception takes care of displaying the invalid arg.

50
src/MSBuild/Resources/xlf/Strings.tr.xlf сгенерированный
Просмотреть файл

@ -566,13 +566,13 @@
<target state="translated"> -logger:&lt;günlükçü&gt; 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.
&lt;günlükçü&gt; söz dizimi şöyledir:
[&lt;sınıf&gt;,]&lt;derleme&gt;[,&lt;seçenekler&gt;][;&lt;parametreler&gt;]
[&lt;class&gt;,]&lt;assembly&gt;[,&lt;options&gt;][;&lt;parameters&gt;]
&lt;günlükçü sınıfı &gt; söz dizimi şöyledir:
[&lt;kısmi veya tam ad alanı &gt;.]&lt;günlükçü sınıfı adı&gt;
&lt;günlükçü derlemesi&gt; söz dizimi şöyledir:
{&lt;derleme adı&gt;[,&lt;strong name&gt;] | &lt;derleme dosyası&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Günlükçü seçenekleri, MSBuild'in günlükçüyü oluşturma biçimini belirtir.
&lt;günlükçü parametreleri &gt; isteğe bağlıdır ve tam olarak
&lt;günlükçü parametreleri &gt; 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
@ -848,11 +848,11 @@
günlükçü belirtmek için her günlükçüyü ayrı ayrı belirtin.
(Kısa biçim -dl)
&lt;günlükçü&gt; söz dizimi şöyledir:
[&lt;sınıf&gt;,]&lt;derleme&gt;[,&lt;seçenekler&gt;][;&lt;parametreler&gt;]
[&lt;sınıf&gt;,]&lt;assembly&gt;[,&lt;seçenekler&gt;][;&lt;parametreler&gt;]
&lt;günlükçü sınıfı&gt; söz dizimi şöyledir:
[&lt;kısmi veya tam ad alanı&gt;.]&lt;günlükçü sınıfı adı&gt;
&lt;günlükçü derlemesi&gt; söz dizimi şöyledir:
{&lt;derleme adı&gt;[,&lt;strong name&gt;] | &lt;derleme dosyası&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
Günlükçü seçenekleri, MSBuild'in günlükçüyü oluşturma biçimini belirtir.
&lt;günlükçü parametreleri&gt; isteğe bağlıdır ve tam olarak
yazdığınız şekliyle günlükçüye geçirilir. (Kısa biçim: -l)
@ -879,10 +879,9 @@
-ignoreProjectExtensions:.sln
</source>
<target state="translated"> -ignoreProjectExtensions:&lt;uzantılar&gt;
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
@ -972,7 +971,6 @@
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ı
@ -1019,32 +1017,31 @@
</source>
<target state="translated"> -fileLoggerParameters[n]:&lt;parametreler&gt;
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
ı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
</target>
<note>
@ -1068,8 +1065,7 @@
-nr:true
</source>
<target state="translated"> -nodeReuse:&lt;parametreler&gt;
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)
@ -1400,7 +1396,7 @@
</trans-unit>
<trans-unit id="MissingTerminalLoggerParameterError">
<source>MSBUILD : error MSB1066: Specify one or more parameters for the terminal logger if using the -terminalLoggerParameters switch</source>
<target state="translated">MSBUILD : error MSB1066: -terminalLoggerParameters anahtarı kullanılıyorsa terminal günlükçüsü için bir veya birden çok parametre belirtin</target>
<target state="translated">MSBUILD : error MSB1066: terminalLoggerParameters anahtarı kullanılıyorsa terminal günlükçüsü için bir veya birden çok parametre belirtin</target>
<note>
{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

8
src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf сгенерированный
Просмотреть файл

@ -566,11 +566,11 @@
<target state="translated"> -logger:&lt;記錄器&gt; 使用此記錄器可記錄 MSBuild 的事件。
若要指定多個記錄器,請各別指定每個記錄器。
&lt;記錄器&gt; 語法為:
[&lt;類別&gt;,]&lt;組件&gt;[,&lt;選項&gt;][;&lt;參數&gt;]
[&lt;class&gt;,]&lt;assembly&gt;[,&lt;options&gt;][;&lt;parameters&gt;]
&lt;記錄器類別&gt; 語法為:
[&lt;一部分或完整的命名空間&gt;.]&lt;記錄器類別名稱&gt;
&lt;記錄器組件&gt; 語法為:
{&lt;組件名稱&gt;[,&lt;strong name&gt;] | &lt;組件檔案&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
記錄器選項會指定 MSBuild 建立記錄器的方式。
&lt;記錄器參數&gt; 是選擇性參數,其會依您輸入的內容,
完全一樣地傳遞到記錄器。(簡短形式: -l)
@ -848,11 +848,11 @@
若要指定多個記錄器,請各別指定每個記錄器。
(簡短形式 -dl)
&lt;記錄器&gt; 語法為:
[&lt;類別&gt;,]&lt;組件&gt;[,&lt;選項&gt;][;&lt;參數&gt;]
[&lt;class&gt;,]&lt;assembly&gt;[,&lt;options&gt;][;&lt;parameters&gt;]
&lt;記錄器類別&gt; 語法為:
[&lt;一部分或完整的命名空間&gt;.]&lt;記錄器類別名稱&gt;
&lt;記錄器組件&gt; 語法為:
{&lt;組件名稱&gt;[,&lt;strong name&gt;] | &lt;組件檔案&gt;}
{&lt;assembly name&gt;[,&lt;strong name&gt;] | &lt;assembly file&gt;}
記錄器選項會指定 MSBuild 建立記錄器的方式。
&lt;記錄器參數&gt; 是選擇性參數,其會依您輸入的內容,
完全一樣地傳遞到記錄器。(簡短形式: -l)

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
#if !CLR2COMPATIBILITY
using Microsoft.Build.Framework.FileAccess;
using Microsoft.Build.Experimental.FileAccess;
#endif
using Microsoft.Build.Shared;
@ -244,7 +244,8 @@ namespace Microsoft.Build.BackEnd
translator.TranslateDictionary(ref _taskOutputParameters, StringComparer.OrdinalIgnoreCase, TaskParameter.FactoryForDeserialization);
translator.TranslateDictionary(ref _buildProcessEnvironment, StringComparer.OrdinalIgnoreCase);
#if FEATURE_REPORTFILEACCESSES
translator.Translate(ref _fileAccessData);
translator.Translate(ref _fileAccessData,
(ITranslator translator, ref FileAccessData data) => ((ITranslatable)data).Translate(translator));
#else
bool hasFileAccessData = false;
translator.Translate(ref hasFileAccessData);

Просмотреть файл

@ -291,7 +291,8 @@ namespace Microsoft.Build.Tasks.UnitTests
redirectResults2.TargetAppConfigContent.ShouldContain("<assemblyIdentity name=\"System\" publicKeyToken=\"b77a5c561934e089\" culture=\"neutral\" />");
redirectResults2.TargetAppConfigContent.ShouldContain("newVersion=\"40.0.0.0\"");
File.GetLastWriteTime(outputAppConfigFile).ShouldBeGreaterThan(oldTimestamp);
File.GetCreationTime(outputAppConfigFile).ShouldBe(oldTimestamp, TimeSpan.FromSeconds(5));
File.GetLastWriteTime(outputAppConfigFile).ShouldBe(oldTimestamp, TimeSpan.FromSeconds(5));
}
private BindingRedirectsExecutionResult GenerateBindingRedirects(string appConfigFile, string targetAppConfigFile,

Просмотреть файл

@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
@ -139,13 +139,6 @@ namespace Microsoft.Build.Tasks
doc.Save(stream);
}
}
else if (outputExists)
{
// if the file exists and the content is up to date, then touch the output file.
var now = DateTime.Now;
File.SetLastAccessTime(OutputAppConfigFile.ItemSpec, now);
File.SetLastWriteTime(OutputAppConfigFile.ItemSpec, now);
}
return !Log.HasLoggedErrors;
}

Просмотреть файл

@ -4374,15 +4374,6 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</Target>
<PropertyGroup>
<DeploymentComputeClickOnceManifestInfoDependsOn>
CleanPublishFolder;
GetCopyToOutputDirectoryItems;
_DeploymentGenerateTrustInfo
$(DeploymentComputeClickOnceManifestInfoDependsOn)
</DeploymentComputeClickOnceManifestInfoDependsOn>
</PropertyGroup>
<!--
============================================================
_DeploymentComputeClickOnceManifestInfo
@ -4442,10 +4433,28 @@ Copyright (C) Microsoft Corporation. All rights reserved.
Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" />
<_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" />
<!-- Include items from None itemgroup for publishing -->
<_ClickOnceNoneItems Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'"/>
<!--
For .NET>=5, we need to check if we need to publish any content items from transitive project references. For such items to be published, they
either have the .exe/.dll extension or their publish status has been overriden in VS so they will show up in the PublishFiles collection.
The PublishProtocol property is available only in .NET>=5 so we will used that to exclude .NET FX 4.X case.
-->
<_ClickOnceTransitiveContentItemsTemp Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(TargetPath)')" Condition="'$(PublishProtocol)' == 'ClickOnce'" >
<SavedIdentity>%(Identity)</SavedIdentity>
</_ClickOnceTransitiveContentItemsTemp>
<_ClickOnceTransitiveContentItems Include="@(_ClickOnceTransitiveContentItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" />
<_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_TransitiveItemsToCopyToOutputDirectory)"/>
<!--
For .NET>=5, we need to check if we need to publish any copylocal items from None group. For such items to be published, they either
have .exe/.dll extension or their publish status has been overriden in VS so they will show up in the PublishFiles collection.
The PublishProtocol property is available only in .NET>=5 so we will used that to exclude .NET FX 4.X case.
-->
<!-- Include items from None group for publishing -->
<_ClickOnceNoneItemsTemp Include="@(_NoneWithTargetPath->'%(TargetPath)')" Condition="'$(PublishProtocol)'=='Clickonce' And ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest')">
<SavedIdentity>%(Identity)</SavedIdentity>
</_ClickOnceNoneItemsTemp>
<_ClickOnceNoneItems Include="@(_ClickOnceNoneItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" />
<_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_ClickOnceTransitiveContentItems)"/>
</ItemGroup>
<!-- For single file publish, we need to include the SF bundle EXE, application icon file and files excluded from the bundle EXE in the clickonce manifest -->
@ -5001,7 +5010,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<Target
Name="_GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences"
DependsOnTargets="_PopulateCommonStateForGetCopyToOutputDirectoryItems;_AddOutputPathToGlobalPropertiesToRemove"
Returns="@(_TransitiveItemsToCopyToOutputDirectory)">
Returns="@(_CopyToOutputDirectoryTransitiveItems)">
<!-- Get items from child projects first. -->
<MSBuild
@ -5020,8 +5029,8 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<!-- Target outputs must be full paths because they will be consumed by a different project. -->
<ItemGroup>
<_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'"/>
<_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'"/>
<_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'"/>
<_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'"/>
</ItemGroup>
<!-- Remove items which we will never again use - they just sit around taking up memory otherwise -->
@ -5031,13 +5040,13 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<!-- Copy paste _GetCopyToOutputDirectoryItemsFromThisProject but keep the items that came from other projects via ProjectReference's OutputItemType metadata -->
<ItemGroup>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
</ItemGroup>
<ItemGroup>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''"/>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''"/>
</ItemGroup>
<ItemGroup>
@ -5049,13 +5058,13 @@ Copyright (C) Microsoft Corporation. All rights reserved.
</AssignTargetPath>
<ItemGroup>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'"/>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'"/>
</ItemGroup>
<ItemGroup>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
<_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''"/>
</ItemGroup>
</Target>
@ -5809,6 +5818,15 @@ Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->
<PropertyGroup>
<DeploymentComputeClickOnceManifestInfoDependsOn>
CleanPublishFolder;
$(_RecursiveTargetForContentCopying);
_DeploymentGenerateTrustInfo
$(DeploymentComputeClickOnceManifestInfoDependsOn)
</DeploymentComputeClickOnceManifestInfoDependsOn>
</PropertyGroup>
<!--
============================================================
Publish

6
src/Tasks/Resources/xlf/Strings.es.xlf сгенерированный
Просмотреть файл

@ -118,7 +118,7 @@
</trans-unit>
<trans-unit id="AxTlbBaseTask.StrongNameUtils.NoPublicKeySpecified">
<source>MSB3654: Delay signing requires that at least a public key be specified. Please either supply a public key using the KeyFile or KeyContainer properties, or disable delay signing.</source>
<target state="translated">MSB3654: La firma retardada requiere que se especifique al menos una clave pública. Proporcione una clave pública mediante las propiedades KeyFile o KeyContainer, o deshabilite la firma retardada.</target>
<target state="translated">MSB3654: La firma retrasada requiere que se especifique al menos una clave pública. Proporcione una clave pública mediante las propiedades KeyFile o KeyContainer, o deshabilite la firma retrasada.</target>
<note>{StrBegin="MSB3654: "}</note>
</trans-unit>
<trans-unit id="CombineTargetFrameworkInfoProperties.NotNullAndEmptyRootElementName">
@ -2302,7 +2302,7 @@
</trans-unit>
<trans-unit id="ResolveComReference.LoadingDelaySignedAssemblyWithStrongNameVerificationEnabled">
<source>MSB3295: Failed to load an assembly. Please make sure you have disabled strong name verification for your public key if you want to generate delay signed wrappers. {0}</source>
<target state="translated">MSB3295: No se pudo cargar un ensamblado. Asegúrese de que deshabilitó la comprobación de nombres seguros para su clave pública si desea generar contenedores de firma retardada. {0}</target>
<target state="translated">MSB3295: No se pudo cargar un ensamblado. Asegúrese de que deshabilitó la comprobación de nombres seguros para su clave pública si desea generar contenedores de firma con retraso. {0}</target>
<note>{StrBegin="MSB3295: "}</note>
</trans-unit>
<trans-unit id="ResolveComReference.MissingOrUnknownComReferenceAttribute">
@ -2511,7 +2511,7 @@
</trans-unit>
<trans-unit id="StrongNameUtils.NoPublicKeySpecified">
<source>MSB3353: Public key necessary for delay signing was not specified.</source>
<target state="translated">MSB3353: No se especificó la clave pública necesaria para la firma retardada.</target>
<target state="translated">MSB3353: No se especificó la clave pública necesaria para la firma con retraso.</target>
<note>{StrBegin="MSB3353: "}</note>
</trans-unit>
<trans-unit id="TaskRequiresFrameworkFailure">

4
src/Tasks/Resources/xlf/Strings.it.xlf сгенерированный
Просмотреть файл

@ -123,12 +123,12 @@
</trans-unit>
<trans-unit id="CombineTargetFrameworkInfoProperties.NotNullAndEmptyRootElementName">
<source>MSB3991: '{0}' is not set or empty. When {1} is false, make sure to set a non-empty value for '{0}'.</source>
<target state="translated">MSB3991: '{0}' non è impostato o è vuoto. Quando {1} è false, assicurarsi di impostare un valore non vuoto per '{0}'.</target>
<target state="translated">MSB3991: “{0}” non è impostato o è vuoto. Quando {1} è false, assicurarsi di impostare un valore non vuoto per "{0}".</target>
<note>{StrBegin="MSB3991: "}</note>
</trans-unit>
<trans-unit id="CombineTargetFrameworkInfoProperties.NotNullRootElementName">
<source>MSB3992: '{0}' is not set. When {1} is true, make sure to set a value for '{0}'.</source>
<target state="translated">MSB3992: '{0}' non è impostato. Quando {1} è true, assicurarsi di impostare un valore per '{0}'.</target>
<target state="translated">MSB3992: "{0}" non impostato. Quando {1} è true, assicurarsi di impostare un valore per "{0}".</target>
<note>{StrBegin="MSB3992: "}</note>
</trans-unit>
<trans-unit id="Compiler.FatalArguments">