From 66ae06afe3b347f5f81892d0a2d57563354a7ce3 Mon Sep 17 00:00:00 2001 From: Forgind Date: Mon, 3 Jan 2022 17:19:14 -0800 Subject: [PATCH 01/25] Ignore env variable switches --- src/MSBuild/CommandLineSwitches.cs | 23 +++++++++++++++++++++++ src/MSBuild/XMake.cs | 26 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/src/MSBuild/CommandLineSwitches.cs b/src/MSBuild/CommandLineSwitches.cs index e1e53cbb1f5..c663ca99fac 100644 --- a/src/MSBuild/CommandLineSwitches.cs +++ b/src/MSBuild/CommandLineSwitches.cs @@ -438,6 +438,29 @@ internal void SetParameterlessSwitch(ParameterlessSwitch parameterlessSwitch, st // list of recognized switch parameter separators -- for switches that take multiple parameters private static readonly char[] s_parameterSeparators = { ',', ';' }; + /// + /// Called when a recognized switch that takes parameters is detected on the command line, + /// but an invalid switch of the same kind was detected first. Here we pretend the first + /// switch didn't exist and override it. + /// + /// + /// + /// + /// + /// true, if the given parameters were successfully stored + internal bool OverrideParameterizedSwitch( + ParameterizedSwitch parameterizedSwitch, + string commandLineArg, + string switchParameters, + bool multipleParametersAllowed, + bool unquoteParameters, + bool emptyParametersAllowed + ) + { + _parameterizedSwitches[(int)parameterizedSwitch].commandLineArg = null; + return SetParameterizedSwitch(parameterizedSwitch, commandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, emptyParametersAllowed); + } + /// /// Called when a recognized switch that takes parameters is detected on the command line. /// diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index ae95d608193..5320f02f918 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -2008,6 +2008,27 @@ bool allowEmptyParameters } } } + else if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && switchParameters.Length > 0 && + (IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project)) || + IsEnvironmentVariable(switchParameters.Substring(1)))) + { + if (IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project))) + { + if (switchParameters.Length > 0) + { + switchParameters = switchParameters.Substring(1); + } + + if (!commandLineSwitches.OverrideParameterizedSwitch(parameterizedSwitch, unquotedCommandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, allowEmptyParameters)) + { + // if parsing revealed there were no real parameters, flag an error, unless the parameters are optional + if (missingParametersErrorMessage != null) + { + commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg); + } + } + } + } else { commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg); @@ -2019,6 +2040,11 @@ bool allowEmptyParameters } } + private static bool IsEnvironmentVariable(string s) + { + return s.StartsWith("$") || (s.StartsWith("%") && s.EndsWith("%") && s.Length > 1); + } + /// /// The name of the auto-response file. /// From df38393ccc238f93ffb0a471e2120c7ef4f8ea84 Mon Sep 17 00:00:00 2001 From: Forgind Date: Tue, 4 Jan 2022 16:17:09 -0800 Subject: [PATCH 02/25] Log command line on switch error --- .../CommandLineSwitches_Tests.cs | 54 +++++------ src/MSBuild.UnitTests/XMake_Tests.cs | 10 +- src/MSBuild/CommandLineSwitches.cs | 33 ++++--- src/MSBuild/Resources/Strings.resx | 43 +++++---- src/MSBuild/Resources/xlf/Strings.cs.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.de.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.es.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.fr.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.it.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.ja.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.ko.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.pl.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.ru.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.tr.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 86 +++++++++-------- src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 86 +++++++++-------- src/MSBuild/XMake.cs | 96 +++++++++++-------- 18 files changed, 702 insertions(+), 652 deletions(-) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index bd04dfc4a6f..4f285592a5d 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -458,7 +458,7 @@ public void TargetsSwitchIdentificationTests(string @switch) public void TargetsSwitchParameter() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches); + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches, string.Empty); switches.HaveErrors().ShouldBeFalse(); switches[CommandLineSwitches.ParameterizedSwitch.Targets].ShouldBe(new[] { "targets.txt" }); @@ -468,7 +468,7 @@ public void TargetsSwitchParameter() public void TargetsSwitchDoesNotSupportMultipleOccurrences() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches); + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches, string.Empty); switches.HaveErrors().ShouldBeTrue(); } @@ -546,7 +546,7 @@ public void GraphBuildSwitchCanHaveParameters() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List{ "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches); + MSBuildApp.GatherCommandLineSwitches(new List{ "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches, string.Empty); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(new[] {"true", " NoBuild ", " ", "foo"}); @@ -558,7 +558,7 @@ public void GraphBuildSwitchCanBeParameterless() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List{ "/graph" }, switches); + MSBuildApp.GatherCommandLineSwitches(new List{ "/graph" }, switches, string.Empty); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(new string[0]); @@ -570,7 +570,7 @@ public void InputResultsCachesSupportsMultipleOccurrence() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches); + MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches, string.Empty); switches[CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].ShouldBe(new []{null, "a", "b", "c", "d"}); @@ -582,7 +582,7 @@ public void OutputResultsCache() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches); + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches, string.Empty); switches[CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].ShouldBe(new []{"a"}); @@ -594,7 +594,7 @@ public void OutputResultsCachesDoesNotSupportMultipleOccurrences() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches); + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches, string.Empty); switches.HaveErrors().ShouldBeTrue(); } @@ -768,24 +768,24 @@ public void AppendErrorTests1() Assert.False(switchesLeft.HaveErrors()); Assert.False(switchesRight.HaveErrors()); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); Assert.False(switchesLeft.HaveErrors()); Assert.False(switchesRight.HaveErrors()); - switchesLeft.SetUnknownSwitchError("/bogus"); + switchesLeft.SetUnknownSwitchError("/bogus", string.Empty); Assert.True(switchesLeft.HaveErrors()); Assert.False(switchesRight.HaveErrors()); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); Assert.True(switchesLeft.HaveErrors()); Assert.False(switchesRight.HaveErrors()); VerifySwitchError(switchesLeft, "/bogus"); - switchesRight.Append(switchesLeft); + switchesRight.Append(switchesLeft, string.Empty); Assert.True(switchesLeft.HaveErrors()); Assert.True(switchesRight.HaveErrors()); @@ -803,8 +803,8 @@ public void AppendErrorTests2() Assert.False(switchesLeft.HaveErrors()); Assert.False(switchesRight.HaveErrors()); - switchesLeft.SetUnknownSwitchError("/bogus"); - switchesRight.SetUnexpectedParametersError("/nologo:foo"); + switchesLeft.SetUnknownSwitchError("/bogus", string.Empty); + switchesRight.SetUnexpectedParametersError("/nologo:foo", string.Empty); Assert.True(switchesLeft.HaveErrors()); Assert.True(switchesRight.HaveErrors()); @@ -812,7 +812,7 @@ public void AppendErrorTests2() VerifySwitchError(switchesLeft, "/bogus"); VerifySwitchError(switchesRight, "/nologo:foo"); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); VerifySwitchError(switchesLeft, "/bogus"); VerifySwitchError(switchesRight, "/nologo:foo"); @@ -835,7 +835,7 @@ public void AppendParameterlessSwitchesTests() Assert.False(switchesRight1.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.Help)); Assert.True(switchesRight1.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); - switchesLeft.Append(switchesRight1); + switchesLeft.Append(switchesRight1, string.Empty); Assert.Equal("/noconlog", switchesLeft.GetParameterlessSwitchCommandLineArg(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); Assert.True(switchesLeft.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); @@ -853,7 +853,7 @@ public void AppendParameterlessSwitchesTests() Assert.False(switchesRight2.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.Help)); Assert.True(switchesRight2.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); - switchesLeft.Append(switchesRight2); + switchesLeft.Append(switchesRight2, string.Empty); Assert.Equal("/NOCONSOLELOGGER", switchesLeft.GetParameterlessSwitchCommandLineArg(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); Assert.True(switchesLeft.IsParameterlessSwitchSet(CommandLineSwitches.ParameterlessSwitch.NoConsoleLogger)); @@ -883,7 +883,7 @@ public void AppendParameterizedSwitchesTests1() Assert.False(switchesRight.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Project)); Assert.True(switchesRight.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Target)); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); Assert.Equal("tempproject.proj", switchesLeft.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project)); Assert.True(switchesLeft.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Project)); @@ -919,7 +919,7 @@ public void AppendParameterizedSwitchesTests2() Assert.True(switchesRight.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Target)); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); Assert.Equal("/t:\"RESOURCES\";build", switchesLeft.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Target)); Assert.True(switchesLeft.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Target)); @@ -948,7 +948,7 @@ public void AppendParameterizedSwitchesTests3() Assert.True(switchesRight.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Project)); - switchesLeft.Append(switchesRight); + switchesLeft.Append(switchesRight, string.Empty); Assert.Equal("tempproject.proj", switchesLeft.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project)); Assert.True(switchesLeft.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.Project)); @@ -1074,7 +1074,7 @@ public void ProcessWarnAsErrorSwitchNotSpecified() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches, string.Empty); Assert.Null(MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches)); } @@ -1097,7 +1097,7 @@ public void ProcessWarnAsErrorSwitchWithCodes() "/err:D,d;E,e", // A different source with new items and uses the short form "/warnaserror:a", // A different source with a single duplicate "/warnaserror:a,b", // A different source with multiple duplicates - }), commandLineSwitches); + }), commandLineSwitches, string.Empty); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1118,7 +1118,7 @@ public void ProcessWarnAsErrorSwitchEmptySwitchClearsSet() { "/warnaserror:a;b;c", "/warnaserror", - }), commandLineSwitches); + }), commandLineSwitches, string.Empty); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1142,7 +1142,7 @@ public void ProcessWarnAsErrorSwitchValuesAfterEmptyAddOn() "/warnaserror:a;b;c", "/warnaserror", "/warnaserror:e;f;g", - }), commandLineSwitches); + }), commandLineSwitches, string.Empty); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1159,7 +1159,7 @@ public void ProcessWarnAsErrorSwitchEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches); + MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches, string.Empty); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1176,7 +1176,7 @@ public void ProcessWarnAsMessageSwitchEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, string.Empty); VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.GetString("MissingWarnAsMessageParameterError")); } @@ -1199,7 +1199,7 @@ public void ProcessWarnAsMessageSwitchWithCodes() "/nowarn:D,d;E,e", // A different source with new items and uses the short form "/warnasmessage:a", // A different source with a single duplicate "/warnasmessage:a,b", // A different source with multiple duplicates - }), commandLineSwitches); + }), commandLineSwitches, string.Empty); ISet actualWarningsAsMessages = MSBuildApp.ProcessWarnAsMessageSwitch(commandLineSwitches); @@ -1216,7 +1216,7 @@ public void ProcessProfileEvaluationEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches, string.Empty); commandLineSwitches[CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation][0].ShouldBe("no-file"); } diff --git a/src/MSBuild.UnitTests/XMake_Tests.cs b/src/MSBuild.UnitTests/XMake_Tests.cs index e44fe59257f..06d6e1cbfff 100644 --- a/src/MSBuild.UnitTests/XMake_Tests.cs +++ b/src/MSBuild.UnitTests/XMake_Tests.cs @@ -50,7 +50,7 @@ public void GatherCommandLineSwitchesTwoProperties() var arguments = new List(); arguments.AddRange(new[] { "/p:a=b", "/p:c=d" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -67,7 +67,7 @@ public void GatherCommandLineSwitchesAnyDash() "--p:maxcpucount=8" }; - MSBuildApp.GatherCommandLineSwitches(arguments, switches); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -82,7 +82,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithArgument() var arguments = new List(); arguments.AddRange(new[] { "/m:2" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[0].ShouldBe("2"); @@ -99,7 +99,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgument() var arguments = new List(); arguments.AddRange(new[] { "/m:3", "/m" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[1].ShouldBe(Convert.ToString(NativeMethodsShared.GetLogicalCoreCount())); @@ -119,7 +119,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgumentButWithColon() var arguments = new List(); arguments.AddRange(new[] { "/m:" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters.Length.ShouldBe(0); diff --git a/src/MSBuild/CommandLineSwitches.cs b/src/MSBuild/CommandLineSwitches.cs index c663ca99fac..22206252993 100644 --- a/src/MSBuild/CommandLineSwitches.cs +++ b/src/MSBuild/CommandLineSwitches.cs @@ -735,18 +735,18 @@ internal bool HaveAnySwitchesBeenSet() /// Called to flag an error when an unrecognized switch is detected on the command line. /// /// - internal void SetUnknownSwitchError(string badCommandLineArgValue) + internal void SetUnknownSwitchError(string badCommandLineArgValue, string commandLine) { - SetSwitchError("UnknownSwitchError", badCommandLineArgValue); + SetSwitchError("UnknownSwitchError", badCommandLineArgValue, commandLine); } /// /// Called to flag an error when a switch that doesn't take parameters is found with parameters on the command line. /// /// - internal void SetUnexpectedParametersError(string badCommandLineArgValue) + internal void SetUnexpectedParametersError(string badCommandLineArgValue, string commandLine) { - SetSwitchError("UnexpectedParametersError", badCommandLineArgValue); + SetSwitchError("UnexpectedParametersError", badCommandLineArgValue, commandLine); } // information about last flagged error @@ -755,15 +755,16 @@ internal void SetUnexpectedParametersError(string badCommandLineArgValue) private string _badCommandLineArg; private Exception _innerException; private bool _isParameterError; + private string _commandLine; /// /// Used to flag/store switch errors. /// /// /// - internal void SetSwitchError(string messageResourceNameValue, string badCommandLineArgValue) + internal void SetSwitchError(string messageResourceNameValue, string badCommandLineArgValue, string commandLine) { - SetError(messageResourceNameValue, badCommandLineArgValue, null, false); + SetError(messageResourceNameValue, badCommandLineArgValue, null, false, commandLine); } /// @@ -771,9 +772,9 @@ internal void SetSwitchError(string messageResourceNameValue, string badCommandL /// /// /// - internal void SetParameterError(string messageResourceNameValue, string badCommandLineArgValue) + internal void SetParameterError(string messageResourceNameValue, string badCommandLineArgValue, string commandLine) { - SetParameterError(messageResourceNameValue, badCommandLineArgValue, null); + SetParameterError(messageResourceNameValue, badCommandLineArgValue, null, commandLine); } /// @@ -782,9 +783,9 @@ internal void SetParameterError(string messageResourceNameValue, string badComma /// /// /// - internal void SetParameterError(string messageResourceNameValue, string badCommandLineArgValue, Exception innerExceptionValue) + internal void SetParameterError(string messageResourceNameValue, string badCommandLineArgValue, Exception innerExceptionValue, string commandLine) { - SetError(messageResourceNameValue, badCommandLineArgValue, innerExceptionValue, true); + SetError(messageResourceNameValue, badCommandLineArgValue, innerExceptionValue, true, commandLine); } /// @@ -794,7 +795,7 @@ internal void SetParameterError(string messageResourceNameValue, string badComma /// /// /// - private void SetError(string messageResourceNameValue, string badCommandLineArgValue, Exception innerExceptionValue, bool isParameterErrorValue) + private void SetError(string messageResourceNameValue, string badCommandLineArgValue, Exception innerExceptionValue, bool isParameterErrorValue, string commandLine) { if (!HaveErrors()) { @@ -802,6 +803,7 @@ private void SetError(string messageResourceNameValue, string badCommandLineArgV _badCommandLineArg = badCommandLineArgValue; _innerException = innerExceptionValue; _isParameterError = isParameterErrorValue; + _commandLine = commandLine; } } @@ -827,7 +829,7 @@ internal void ThrowErrors() } else { - CommandLineSwitchException.Throw(_errorMessage, _badCommandLineArg); + CommandLineSwitchException.Throw(_errorMessage, _badCommandLineArg, _commandLine); } } } @@ -841,7 +843,7 @@ internal void ThrowErrors() /// considered to be on the "left", and the switches being appended are on the "right". /// /// - internal void Append(CommandLineSwitches switchesToAppend) + internal void Append(CommandLineSwitches switchesToAppend, string commandLine) { // if this collection doesn't already have an error registered, but the collection being appended does if (!HaveErrors() && switchesToAppend.HaveErrors()) @@ -854,6 +856,7 @@ internal void Append(CommandLineSwitches switchesToAppend) _badCommandLineArg = switchesToAppend._badCommandLineArg; _innerException = switchesToAppend._innerException; _isParameterError = switchesToAppend._isParameterError; + _commandLine = commandLine; } // NOTE: we might run into some duplicate switch errors below, but if we've already registered the error from the @@ -874,7 +877,7 @@ internal void Append(CommandLineSwitches switchesToAppend) else { SetSwitchError(s_parameterlessSwitchesMap[i].duplicateSwitchErrorMessage, - switchesToAppend.GetParameterlessSwitchCommandLineArg((ParameterlessSwitch)i)); + switchesToAppend.GetParameterlessSwitchCommandLineArg((ParameterlessSwitch)i), commandLine); } } } @@ -898,7 +901,7 @@ internal void Append(CommandLineSwitches switchesToAppend) else { SetSwitchError(s_parameterizedSwitchesMap[j].duplicateSwitchErrorMessage, - switchesToAppend.GetParameterizedSwitchCommandLineArg((ParameterizedSwitch)j)); + switchesToAppend.GetParameterizedSwitchCommandLineArg((ParameterizedSwitch)j), commandLine); } } } diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 61b9471ba63..7320946dce3 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -83,7 +83,7 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -93,7 +93,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: {0} contains the DLL version number. {1} contains the name of a runtime, like ".NET Framework", ".NET Core", or "Mono" - MSBUILD : error MSB1008: Only one project can be specified. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -946,7 +946,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -954,7 +954,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -969,7 +969,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -977,7 +977,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -985,7 +985,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -993,7 +993,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1002,7 +1002,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1037,13 +1037,14 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1052,7 +1053,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1081,13 +1082,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1002: This switch does not take any parameters. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1099,7 +1100,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. Forcing load of Microsoft.Build.Engine because MSBUILDOLDOM=1... - MSBUILD : error MSB1035: Specify the project extensions to ignore. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1111,7 +1112,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1119,7 +1120,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1127,7 +1128,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1251,7 +1252,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. A file location to be embedded in a string. - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1262,10 +1263,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1053: Provided filename is not valid. {0} - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index 3391a53a640..e289e1a1003 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: Přepínač -noAutoResponse nelze zadat v souboru automatických odpovědí MSBuild.rsp ani v žádném jiném souboru odpovědí, na který se v souboru automatických odpovědí odkazuje. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: Lze zadat pouze jednu výstupní mezipaměť pro výsledky. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Lze zadat pouze jeden projekt. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1142,8 +1142,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Zadejte protokolovací nástroj. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1151,8 +1151,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: Zadejte maximální počet procesorů. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1168,8 +1168,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Zadejte vlastnost a její hodnotu. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1177,8 +1177,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Zadejte soubor odpovědí. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1186,8 +1186,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Zadejte název cíle. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1195,8 +1195,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Zadejte verzi sady nástrojů. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1205,8 +1205,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Zadejte úroveň podrobností protokolování. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1261,15 +1261,17 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: Nelze číst soubor odpovědí. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: Soubor odpovědí byl zadaný dvakrát. Soubor odpovědí může být zadaný jenom jednou. Jako soubory odpovědí byly automaticky použity libovolné soubory nazvané msbuild.rsp v adresáři souboru MSBuild.exe nebo v adresáři prvního sestaveného projektu nebo řešení (který odpovídá aktuálnímu pracovnímu adresáři, pokud nebyl zadaný žádný projekt či řešení). + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1278,8 +1280,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: Soubor odpovědí neexistuje. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1317,15 +1319,15 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Pro tento přepínač se nepoužívají žádné parametry. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Neznámý přepínač. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1340,8 +1342,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Zadejte přípony projektů, které mají být ignorovány. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1354,8 +1356,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: Pokud používáte přepínač -consoleLoggerParameters, zadejte jeden nebo více parametrů protokolovacího nástroje konzoly. + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1363,8 +1365,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: Pokud používáte přepínač -fileLoggerParameters, zadejte jeden nebo více parametrů protokolovacího nástroje souborů + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1372,8 +1374,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: Pokud používáte přepínač -nodeReuse, zadejte jeden nebo více parametrů opakovaného použití uzlu. + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1513,8 +1515,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: Když použijete přepínač -warnAsMessage, určete jeden nebo více kódů upozornění, která se mají považovat za zprávy s nízkou důležitostí. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1711,8 +1713,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD: chyba MSB1054: Kvůli vygenerování výsledku profileru musí být zadaný název souboru. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 63493f136ce..74433caf4cf 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: Der Schalter "-noAutoResponse" kann weder in der automatischen Antwortdatei "MSBuild.rsp" noch in einer anderen Antwortdatei verwendet werden, auf die die automatische Antwortdatei verweist. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: Es darf nur ein Cache für Ausgabeergebnisse angegeben werden. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Es darf nur ein Projekt angegeben werden. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Geben Sie eine Protokollierung an. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: Geben Sie die maximale Anzahl von CPUs an. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Geben Sie eine Eigenschaft und ihren Wert an. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Geben Sie eine Antwortdatei an. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Geben Sie den Namen des Ziels an. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Geben Sie die Version des Toolsets an. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Geben Sie den Ausführlichkeitsgrad an. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: Die Antwortdatei kann nicht gelesen werden. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: Die Antwortdatei wurde zweimal angegeben. Eine Antwortdatei darf nur einmal angegeben werden. Alle Dateien mit der Bezeichnung "msbuild.rsp" im Verzeichnis von "MSBuild.exe" oder im Verzeichnis des ersten erstellten Projekts oder der ersten erstellten Projektmappe (wenn kein Projekt oder keine Projektmappe angegeben ist, das aktuelle Arbeitsverzeichnis) wurden automatisch als Antwortdateien verwendet. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: Die Antwortdatei ist nicht vorhanden. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Der Schalter erlaubt keine Parameter. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Unbekannter Schalter. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Geben Sie die zu ignorierenden Projekterweiterungen an. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: Geben Sie bei Verwendung des Schalters "-consoleLoggerParameters" mindestens einen Parameter für die Konsolenprotokollierung an. + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: Geben Sie bei Verwendung des Schalters "-fileLoggerParameters" mindestens einen Parameter für die Dateiprotokollierung an. + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: Geben Sie bei Verwendung des Schalters "-nodeReuse" mindestens einen Parameter für die Knotenwiederverwendung an. + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1505,8 +1507,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: Geben Sie mindestens einen Warncode an, der als Meldung mit geringer Priorität behandelt werden soll, wenn Sie den Switch "-warnAsMessage" verwenden. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1703,8 +1705,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD : error MSB1054: Ein Dateiname muss angegeben werden, um das Profilerergebnis zu generieren. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index 956059968ba..864e2ea991b 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: El modificador -noAutoResponse no puede especificarse en el archivo de respuesta automática MSBuild.rsp ni en ningún archivo de respuesta al que el archivo de respuesta automática haga referencia. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: Solo se puede especificar una memoria caché de resultados de salida. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Sólo puede especificarse un proyecto. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Especifique un registrador. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1152,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: Especifique el número máximo de CPU. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Especifique una propiedad y su valor. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Especifique un archivo de respuesta. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Especifique el nombre del destino. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1196,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Especifique la versión del conjunto de herramientas. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1206,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Especifique el nivel de detalle. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1262,15 +1262,17 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: No se puede leer el archivo de respuesta. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: El archivo de respuesta se especificó dos veces. Un archivo de respuesta solo se puede especificar una vez. Todos los archivos denominados "msbuild.rsp" en el directorio de MSBuild.exe o en el directorio de la primera compilación del proyecto o solución (que, en caso de que no se especifique ningún proyecto o solución, es el directorio de trabajo actual) se usaron automáticamente como archivos de respuesta. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1279,8 +1281,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: El archivo de respuesta no existe. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1318,15 +1320,15 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Este modificador no tiene ningún parámetro. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Modificador desconocido. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1341,8 +1343,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Especifique las extensiones de proyecto que se van a omitir. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: Especifique uno o varios parámetros para el registrador de consola si utiliza el modificador -consoleLoggerParameters + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: Especifique uno o varios parámetros para el registrador de archivos si utiliza el modificador -fileLoggerParameters + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1373,8 +1375,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: Especifique uno o varios parámetros para la reutilización de nodos si utiliza el modificador -nodeReuse + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1514,8 +1516,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: Especifique uno o varios códigos de advertencia para tratarlos como mensajes de baja importancia al utilizar el modificador -warnAsMessage. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1710,8 +1712,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :error MSB1054: Es necesario especificar un nombre de archivo para generar el resultado del generador de perfiles. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index a0aa66f7a84..078756081cf 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: Impossible de spécifier le commutateur -noAutoResponse dans le fichier réponse automatique MSBuild.rsp, ni dans aucun autre fichier réponse référencé par le fichier réponse automatique. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: un seul cache de résultats de sortie peut être spécifié. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Un seul projet peut être spécifié. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Spécifiez un journal. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: Spécifiez le nombre maximal d'UC. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Spécifiez une propriété et sa valeur. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Spécifiez un fichier réponse. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Spécifiez le nom de la cible. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Spécifiez la version de l'ensemble d'outils. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Spécifiez le niveau de verbosité. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: Impossible de lire le fichier réponse. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: Fichier réponse spécifié deux fois. Il ne peut l'être qu'une seule fois. Tous les fichiers nommés "msbuild.rsp" dans le répertoire de MSBuild.exe ou dans le répertoire de la première solution ou du premier projet généré (correspondant au répertoire de travail actif si aucun projet ni aucune solution n'est spécifié) sont automatiquement utilisés comme fichiers réponse. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: Le fichier réponse n'existe pas. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Ce commutateur n'accepte aucun paramètre. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Commutateur inconnu. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Spécifiez les extensions de projet à ignorer. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: Spécifiez un ou plusieurs paramètres pour le journaliseur de console si vous utilisez le commutateur -consoleLoggerParameters + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: Spécifiez un ou plusieurs paramètres pour le journaliseur vers un fichier si vous utilisez le commutateur -fileLoggerParameters + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: Spécifiez un ou plusieurs paramètres pour la réutilisation du nœud si vous utilisez le commutateur -nodeReuse + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1506,8 +1508,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: Spécifiez un ou plusieurs codes d'avertissement à traiter comme des messages d'importance faible lors de l'utilisation du commutateur /warnAsMessage. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1721,8 +1723,8 @@ fois plus petit que le journal - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD : erreur MSB1054 : Un nom de fichier doit être spécifié pour générer le résultat du profileur. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index 200a7a77dae..e5a9f4c6501 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: non è possibile specificare l'opzione -noAutoResponse nel file di risposta automatica MSBuild.rsp o in file di risposta a cui il file di risposta automatica fa riferimento. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: è possibile specificare una sola cache dei risultati di output. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: è possibile specificare un solo progetto. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1156,8 +1156,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: specificare un logger. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1165,8 +1165,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: specificare il numero massimo di CPU. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1182,8 +1182,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: specificare una proprietà e il relativo valore. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1191,8 +1191,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: specificare un file di risposta. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1200,8 +1200,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: specificare il nome della destinazione. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1209,8 +1209,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: specificare la versione del set di strumenti. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1219,8 +1219,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: specificare il livello di dettaglio. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1275,15 +1275,17 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: non è possibile leggere il file di risposta. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: il file di risposta è stato specificato due volte. È possibile specificare un file di risposta una sola volta. Come file di risposta è stato usato automaticamente qualsiasi file denominato "msbuild.rsp" nella directory di MSBuild.exe o nella directory della prima compilazione della soluzione o del progetto la quale, se non è specificato un progetto o una soluzione, consiste nella directory di lavoro corrente. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1292,8 +1294,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: il file di risposta non esiste. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1331,15 +1333,15 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: questa opzione non accetta parametri. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: opzione sconosciuta. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1354,8 +1356,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: specificare le estensioni di progetto da ignorare. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1368,8 +1370,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: specificare uno o più parametri per il logger di console se si usa l'opzione -consoleLoggerParameters + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1377,8 +1379,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: specificare uno o più parametri per il logger di file se si usa l'opzione -fileLoggerParameters + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1386,8 +1388,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: specificare uno o più parametri per il riutilizzo dei nodi se si usa l'opzione -nodeReuse + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1529,8 +1531,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: quando si usa l'opzione -warnAsMessage, specificare uno o più codici avviso da considerare come messaggi non importanti. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1730,8 +1732,8 @@ Esegue la profilatura della valutazione di MSBuild e scrive - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :error MSB1054: per generare il risultato del profiler, è necessario specificare un nome file. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index 453bbc44766..8ad77e9f329 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: MSBuild.rsp 自動応答ファイルや、自動応答ファイルによって参照される応答ファイルに -noAutoResponse スイッチを指定することはできません。 + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: 指定できる出力結果キャッシュは 1 つのみです。 + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: 1 つのプロジェクトのみを指定できます。 + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Logger を指定してください。 + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: 最大 CPU 数を指定してください。 + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: プロパティとその値を指定してください。 + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: 応答ファイルを指定してください。 + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: ターゲットの名前を指定してください。 + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: ツールセットのバージョンを指定してください。 + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: 詳細レベルを指定してください。 + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: 応答ファイルを読み取れません。{0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: 応答ファイルが 2 度指定されました。応答ファイルは 1 度だけ指定することができます。MSBuild.exe のディレクトリ、または最初のプロジェクトまたはソリューション ビルドのディレクトリ (プロジェクトまたはソリューションが指定されていない場合は、現在の作業ディレクトリ) に含まれる "msbuild.rsp" という名前の複数のファイルが、自動的に応答ファイルとして使用されました。 + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: 応答ファイルが存在しません。 + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: このスイッチにはパラメーターを指定できません。 + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: 不明なスイッチです。 + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: 無視するプロジェクトの拡張子を指定してください。 + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: -consoleLoggerParameters スイッチを使用する場合は、このスイッチにコンソール ロガーのパラメーターを 1 つ以上指定してください + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: -fileLoggerParameters スイッチを使用する場合は、このスイッチにファイル ロガーのパラメーターを 1 つ以上指定してください + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: -nodeReuse スイッチを使用する場合は、このスイッチにノード再利用のパラメーターを 1 つ以上指定してください + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1505,8 +1507,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: -warnAsMessage スイッチを使用する場合、重要度の低いメッセージとして扱う警告コードを 1 つ以上指定してください。 + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1703,8 +1705,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD : エラー MSB1054: プロファイラーの結果を生成するには、ファイル名を指定する必要があります。 + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index e57ed62661a..0e839440871 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: MSBuild.rsp 자동 지시 파일과 자동 지시 파일에서 참조하는 모든 지시 파일에는 -noAutoResponse 스위치를 지정할 수 없습니다. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: 출력 결과 캐시는 하나만 지정할 수 있습니다. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: 프로젝트를 하나만 지정할 수 있습니다. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: 로거를 지정하십시오. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: 최대 CPU 수를 지정하십시오. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: 속성과 해당 속성 값을 지정하십시오. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: 지시 파일을 지정하십시오. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: 대상의 이름을 지정하십시오. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: 도구 집합의 버전을 지정하십시오. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: 세부 정보 표시 수준을 지정하십시오. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: 지시 파일을 읽을 수 없습니다. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: 지시 파일을 두 번 지정했습니다. 지시 파일은 한 번만 지정할 수 있습니다. MSBuild.exe의 디렉터리 또는 첫 번째 프로젝트의 디렉터리 또는 빌드된 솔루션(프로젝트 또는 솔루션이 지정되지 않은 경우 현재 작업 디렉터리)에서 이름이 "msbuild.rsp"인 파일은 자동으로 지시 파일로 사용됩니다. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: 지시 파일이 없습니다. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: 이 스위치에는 매개 변수를 지정할 수 없습니다. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: 알 수 없는 스위치입니다. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: 무시할 프로젝트 확장명을 지정하십시오. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: -consoleLoggerParameters 스위치를 사용하는 경우 콘솔 로거의 매개 변수를 하나 이상 지정하세요. + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: -fileLoggerParameters 스위치를 사용하는 경우 파일 로거에 대한 매개 변수를 하나 이상 지정하세요. + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: -nodeReuse 스위치를 사용하는 경우 노드 다시 사용에 대한 매개 변수를 하나 이상 지정하세요. + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1505,8 +1507,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: -warnAsMessage 스위치를 사용하는 경우 중요도가 낮은 메시지로 처리할 경고 코드를 하나 이상 지정하세요. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1703,8 +1705,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :오류 MSB1054: 프로파일러 결과를 생성하려면 파일 이름을 지정해야 합니다. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index c1e63e21afe..545b5887ab0 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: przełącznika -noAutoResponse nie można określić w pliku autoodpowiedzi MSBuild.rsp ani w żadnym pliku odpowiedzi, do którego odwołuje się plik autoodpowiedzi. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: można określić tylko jedną wyjściową pamięć podręczną wyników. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: można określić tylko jeden projekt. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1148,8 +1148,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: określ rejestrator. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1157,8 +1157,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: określ maksymalną liczbę procesorów CPU. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1174,8 +1174,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: określ właściwość i jej wartość. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1183,8 +1183,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: określ plik odpowiedzi. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1192,8 +1192,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: określ nazwę elementu docelowego. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1201,8 +1201,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: określ wersję zestawu narzędzi. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1211,8 +1211,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: określ poziom szczegółowości. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1267,15 +1267,17 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: nie można odczytać pliku odpowiedzi. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: Plik odpowiedzi został określony dwukrotnie. Ten plik można określić tylko raz. Wszelkie pliki z nazwą „msbuild.rsp” w katalogu pliku MSBuild.exe lub w katalogu pierwszej wersji projektu albo rozwiązania (który jest katalogiem roboczym, jeśli nie jest określony żaden projekt czy rozwiązanie) zostały użyte automatycznie jako pliki odpowiedzi. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1284,8 +1286,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: plik odpowiedzi nie istnieje. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1323,15 +1325,15 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: ten przełącznik nie ma żadnych parametrów. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: nieznany przełącznik. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: określ rozszerzenia projektu, które mają być ignorowane. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1360,8 +1362,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: w przypadku korzystania z przełącznika -consoleLoggerParameters określ jeden lub więcej parametrów rejestratora konsoli + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1369,8 +1371,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: w przypadku korzystania z przełącznika -fileLoggerParameters określ jeden lub więcej parametrów rejestratora plików + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1378,8 +1380,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: w przypadku korzystania z przełącznika -nodeReuse określ jeden lub więcej parametrów ponownego używania węzła + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1519,8 +1521,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: określ kody ostrzeżeń traktowane jak komunikaty o małej ważności podczas używania przełącznika -warnAsMessage. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1717,8 +1719,8 @@ dzienników tekstowych i wykorzystać w innych narzędziach - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD : błąd MSB1054: Należy określić nazwę pliku, aby wygenerować wynik profilera. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index e8293005192..b82235f302a 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: A opção /noAutoResponse não pode ser especificada no arquivo de resposta automática MSBuild.rsp nem em qualquer arquivo de resposta usado como referência para o arquivo de resposta automática. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. Todos os direitos reservados. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: somente um cache de resultados de saída pode ser especificado. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Somente um projeto pode ser especificado. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1135,8 +1135,8 @@ isoladamente. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Especificar um agente de log. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1144,8 +1144,8 @@ isoladamente. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: Especifique o número máximo de CPUs. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1161,8 +1161,8 @@ isoladamente. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Especifique uma propriedade e seu valor. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1170,8 +1170,8 @@ isoladamente. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Especifique um arquivo de resposta. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1179,8 +1179,8 @@ isoladamente. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Especifique o nome do destino. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1188,8 +1188,8 @@ isoladamente. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Especifique a versão do conjunto de ferramentas. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1198,8 +1198,8 @@ isoladamente. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Especifique o nível de detalhamento. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1254,15 +1254,17 @@ isoladamente. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: Não é possível ler arquivo de resposta. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: O arquivo de resposta foi especificado duas vezes. Um arquivo de resposta pode ser especificado somente uma vez. Quaisquer arquivos com o nome "msbuild.rsp" no diretório de MSBuild.exe ou no diretório do primeiro projeto ou da primeira solução compilada (que, se não for especificado nenhum projeto ou solução, será o diretório de trabalho atual) foram automaticamente usados como arquivos de resposta. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1271,8 +1273,8 @@ isoladamente. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: Arquivo de resposta não existe. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1310,15 +1312,15 @@ isoladamente. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Esta opção não aceita parâmetros. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Opção desconhecida. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1333,8 +1335,8 @@ isoladamente. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Especifique as extensões do projeto a serem ignoradas. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1347,8 +1349,8 @@ isoladamente. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: Especifique um ou mais parâmetros para cada agente de console se estiver usando a opção -consoleLoggerParameters + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1356,8 +1358,8 @@ isoladamente. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: Especifique um ou mais parâmetros para o agente de arquivo se estiver usando a opção -fileLoggerParameters + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1365,8 +1367,8 @@ isoladamente. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: Especifique um ou mais parâmetros para reutilização de nó se estiver usando a opção -nodeReuse + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1506,8 +1508,8 @@ isoladamente. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: especifique um ou mais códigos de aviso a serem tratados como mensagens de baixa importância ao usar a opção -warnAsMessage. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1704,8 +1706,8 @@ isoladamente. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :erro MSB1054: um nome de arquivo deve ser especificado para gerar o resultado do criador de perfil. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index d5f02251680..597149e9128 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: ключ noAutoResponse не может быть указан в файле автоответа MSBuild.rsp или в любом другом файле ответа, на который файл автоответа ссылается. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: можно указать только один выходной файл кэша результатов. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: можно указать только один проект. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1133,8 +1133,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: укажите журнал. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1142,8 +1142,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: задайте максимальное число процессоров. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1159,8 +1159,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: укажите свойство и его значение. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1168,8 +1168,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: укажите файл ответа. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1177,8 +1177,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: укажите имя конечного объекта. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1186,8 +1186,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: укажите версию набора инструментов. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1196,8 +1196,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: укажите уровень детализации. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1252,15 +1252,17 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: не удается прочитать файл ответа. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: файл ответов указан дважды. Файл ответов можно указать только один раз. Все файлы с именем msbuild.rsp в каталоге с MSBuild.exe или каталоге собираемых первого проекта или решения (если проект или решение не указаны, это текущий рабочий каталог) автоматически использовались в качестве файлов ответов. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1269,8 +1271,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: файл ответа не существует. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1308,15 +1310,15 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: у этого ключа нет параметров. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: неизвестный ключ. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1331,8 +1333,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: задайте игнорируемые расширения проекта. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1345,8 +1347,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: задайте один или несколько параметров журнала консоли при использовании ключа -consoleLoggerParameters + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1354,8 +1356,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: задайте один или несколько параметров для журнала файла при использовании ключа -fileLoggerParameters + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1363,8 +1365,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: задайте один или несколько параметров для повторного использования узла при использовании ключа -nodeReuse + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1506,8 +1508,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: если используется параметр -warnAsMessage, нужно указать один код предупреждения (или несколько), которые следует считать сообщениями с низкой важностью. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1704,8 +1706,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD: ошибка MSB1054 — укажите имя файла, чтобы создать результат профилировщика. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index 06ed57c5523..dc55251b8e8 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: -noAutoResponse anahtarı, MSBuild.rsp otomatik yanıt dosyasında ve bu dosyanın başvuruda bulunduğu herhangi bir yanıt dosyasında belirtilemez. + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: Yalnızca bir çıkış sonuçları önbelleği belirtilebilir. + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: Yalnızca bir proje belirtilebilir. + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1138,8 +1138,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: Günlükçü belirtin. + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1147,8 +1147,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: En yüksek CPU sayısını belirtin. + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1164,8 +1164,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: Bir özellik ve bunun değerini belirtin. + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1173,8 +1173,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: Bir yanıt dosyası belirtin. + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1182,8 +1182,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: Hedefin adını belirtin. + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1191,8 +1191,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: Araç takımının sürümünü belirtin. + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1201,8 +1201,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: Ayrıntı düzeyini belirtin. + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1257,15 +1257,17 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: Yanıt dosyası okunamıyor. {0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: Yanıt dosyası iki kez belirtildi. Bir yanıt dosyası yalnızca bir kez belirtilebilir. MSBuild.exe dosyasının dizininde veya derlenen ilk projenin veya çözümün dizininde (hiçbir proje veya çözüm belirtilmemiş bu geçerli çalışma dizinidir) bulunan "msbuild.rsp" adlı dosyalar otomatik olarak yanıt dosyası olarak kullanıldı. + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1274,8 +1276,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: Yanıt dosyası yok. + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1313,15 +1315,15 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: Bu anahtar parametreyle kullanılmaz. + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: Bilinmeyen anahtar. + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1336,8 +1338,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: Yoksayılacak proje uzantılarını belirtin. + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1350,8 +1352,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: -consoleLoggerParameters anahtarı kullanılıyorsa konsol günlükçüsü için bir veya birden çok parametre belirtin + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1359,8 +1361,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: -fileLoggerParameters anahtarı kullanılıyorsa dosya günlükçüsü için bir veya birden çok parametre belirtin + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1368,8 +1370,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: -nodeReuse anahtarı kullanılıyorsa düğüm yeniden kullanımı için bir veya birden çok parametre belirtin + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1509,8 +1511,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: -warnAsMessage anahtarını kullanırken düşük önemli iletiler olarak işlenecek bir veya daha fazla uyarı kodu belirtin. + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1707,8 +1709,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD: MSB1054 hatası: Profil oluşturucu sonucunun oluşturulması için bir dosya adı belirtilmelidir. + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 3a68a4c3a6b..649230beb4b 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: 不能在 MSBuild.rsp 自动响应文件中或由该自动响应文件引用的任何响应文件中指定 -noAutoResponse 开关。 + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: 只能指定一个输出结果缓存。 + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: 只能指定一个项目。 + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: 请指定记录器。 + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: 指定最大 CPU 数。 + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: 请指定属性及其属性值。 + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: 请指定响应文件。 + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: 请指定目标的名称。 + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: 指定工具集的版本。 + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: 请指定详细程度。 + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: 无法读取响应文件。{0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: 该响应文件被指定了两次。每个响应文件只能指定一次。MSBuild.exe 的目录中或生成的第一个项目或解决方案目录(如果未指定任何项目或解决方案,则为当前工作目录)中任何名为“msbuild.rsp”的文件自动用作响应文件。 + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: 响应文件不存在。 + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: 此开关不采用任何参数。 + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: 未知开关。 + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: 指定要忽略的项目扩展名。 + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: 为控制台记录器指定一个或多个参数(如果使用 -consoleLoggerParameters 开关) + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: 为文件记录器指定一个或多个参数(如果使用 -fileLoggerParameters 开关) + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: 为节点重用指定一个或多个参数(如果使用 -nodeReuse 开关) + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1505,8 +1507,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: 在使用 -warnAsMessage 开关时,指定一个或多个警告代码作为低重要性消息。 + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1703,8 +1705,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :错误 MSB1054: 必须指定文件名才可生成探查器结果。 + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 5992ad480da..48fcd8d2a3d 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -24,8 +24,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - MSBUILD : error MSB1027: -noAutoResponse 參數不能在 MSBuild.rsp 自動回應檔中指定,也不能在自動回應檔所參考的任何回應檔中指定。 + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,13 +43,13 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1058: Only one output results cache can be specified. - MSBUILD : error MSB1058: 只能指定一個輸出結果快取。 + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. - MSBUILD : error MSB1008: 只能指定一個專案。 + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -1134,8 +1134,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1007: Specify a logger. - MSBUILD : error MSB1007: 指定記錄器。 + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1143,8 +1143,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - MSBUILD : error MSB1031: 指定 CPU 的最大數目。 + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1160,8 +1160,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1005: Specify a property and its value. - MSBUILD : error MSB1005: 請指定屬性和屬性值。 + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1169,8 +1169,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1012: Specify a response file. - MSBUILD : error MSB1012: 請指定回應檔。 + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1178,8 +1178,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1004: Specify the name of the target. - MSBUILD : error MSB1004: 請指定目標的名稱。 + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1187,8 +1187,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1039: Specify the version of the toolset. - MSBUILD : error MSB1039: 指定工具組的版本。 + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1197,8 +1197,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1016: Specify the verbosity level. - MSBUILD : error MSB1016: 請指定詳細程度等級。 + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1253,15 +1253,17 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - MSBUILD : error MSB1023: 無法讀取回應檔。{0} + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' + MSBUILD : error MSB1023: Cannot read the response file. {0} + Full command line: '{1}' {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - MSBUILD : error MSB1013: 回應檔指定了兩次。回應檔只能指定一次。已自動將 MSBuild.exe 目錄或所建置的第一個專案或解決方案的目錄 (如果未指定專案或解決方案,則為目前的工作目錄) 中任何名為 "msbuild.rsp" 的檔案,當作回應檔使用。 + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1270,8 +1272,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - MSBUILD : error MSB1022: 回應檔不存在。 + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1309,15 +1311,15 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. - MSBUILD : error MSB1002: 這個參數不使用任何參數。 + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - MSBUILD : error MSB1001: 未知的參數。 + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1332,8 +1334,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1035: Specify the project extensions to ignore. - MSBUILD : error MSB1035: 指定要忽略的專案副檔名。 + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1346,8 +1348,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch - MSBUILD : error MSB1037: 如果使用 -consoleLoggerParameters 參數,請為主控台記錄器指定一或多個參數 + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1355,8 +1357,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch - MSBUILD : error MSB1038: 如果使用 -fileLoggerParameters 參數,請為檔案記錄器指定一或多個參數 + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1364,8 +1366,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch - MSBUILD : error MSB1041: 如果使用 -nodeReuse 參數,請為節點重複使用指定一或多個參數 + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1505,8 +1507,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - MSBUILD : error MSB1051: 使用 -warnAsMessage 參數時,請指定一或多個要視為低重要性訊息的警告碼。 + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1703,8 +1705,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD :錯誤 MSB1054: 必須指定檔案名稱才能產生分析工具結果。 + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 5320f02f918..3195c738726 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -604,7 +604,12 @@ string [] commandLine ref inputResultsCaches, ref outputResultsCache, ref lowPriority, - recursing: false + recursing: false, +#if FEATURE_GET_COMMANDLINE + commandLine +#else + string.Join(" ", commandLine) +#endif )) { // Unfortunately /m isn't the default, and we are not yet brave enough to make it the default. @@ -1641,16 +1646,22 @@ private static void GatherAllSwitches( // discard the first piece, because that's the path to the executable -- the rest are args commandLineArgs.RemoveAt(0); +#if FEATURE_GET_COMMANDLINE + string fullCommandLine = commandLine; +#else + string fullCommandLine = string.Join(' ', commandLine); +#endif + // parse the command line, and flag syntax errors and obvious switch errors switchesNotFromAutoResponseFile = new CommandLineSwitches(); - GatherCommandLineSwitches(commandLineArgs, switchesNotFromAutoResponseFile); + GatherCommandLineSwitches(commandLineArgs, switchesNotFromAutoResponseFile, fullCommandLine); // parse the auto-response file (if "/noautoresponse" is not specified), and combine those switches with the // switches on the command line switchesFromAutoResponseFile = new CommandLineSwitches(); if (!switchesNotFromAutoResponseFile[CommandLineSwitches.ParameterlessSwitch.NoAutoResponse]) { - GatherAutoResponseFileSwitches(s_exePath, switchesFromAutoResponseFile); + GatherAutoResponseFileSwitches(s_exePath, switchesFromAutoResponseFile, fullCommandLine); } } @@ -1661,7 +1672,7 @@ private static void GatherAllSwitches( /// /// Internal for unit testing only. /// - internal static void GatherCommandLineSwitches(List commandLineArgs, CommandLineSwitches commandLineSwitches) + internal static void GatherCommandLineSwitches(List commandLineArgs, CommandLineSwitches commandLineSwitches, string commandLine) { foreach (string commandLineArg in commandLineArgs) { @@ -1672,7 +1683,7 @@ internal static void GatherCommandLineSwitches(List commandLineArgs, Com // response file switch starts with @ if (unquotedCommandLineArg.StartsWith("@", StringComparison.Ordinal)) { - GatherResponseFileSwitch(unquotedCommandLineArg, commandLineSwitches); + GatherResponseFileSwitch(unquotedCommandLineArg, commandLineSwitches, commandLine); } else { @@ -1738,15 +1749,15 @@ internal static void GatherCommandLineSwitches(List commandLineArgs, Com if (CommandLineSwitches.IsParameterlessSwitch(switchName, out var parameterlessSwitch, out var duplicateSwitchErrorMessage)) { - GatherParameterlessCommandLineSwitch(commandLineSwitches, parameterlessSwitch, switchParameters, duplicateSwitchErrorMessage, unquotedCommandLineArg); + GatherParameterlessCommandLineSwitch(commandLineSwitches, parameterlessSwitch, switchParameters, duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); } else if (CommandLineSwitches.IsParameterizedSwitch(switchName, out var parameterizedSwitch, out duplicateSwitchErrorMessage, out var multipleParametersAllowed, out var missingParametersErrorMessage, out var unquoteParameters, out var allowEmptyParameters)) { - GatherParameterizedCommandLineSwitch(commandLineSwitches, parameterizedSwitch, switchParameters, duplicateSwitchErrorMessage, multipleParametersAllowed, missingParametersErrorMessage, unquoteParameters, unquotedCommandLineArg, allowEmptyParameters); + GatherParameterizedCommandLineSwitch(commandLineSwitches, parameterizedSwitch, switchParameters, duplicateSwitchErrorMessage, multipleParametersAllowed, missingParametersErrorMessage, unquoteParameters, unquotedCommandLineArg, allowEmptyParameters, commandLine); } else { - commandLineSwitches.SetUnknownSwitchError(unquotedCommandLineArg); + commandLineSwitches.SetUnknownSwitchError(unquotedCommandLineArg, commandLine); } } } @@ -1834,7 +1845,7 @@ int switchIndicatorsLength /// /// /// - private static void GatherResponseFileSwitch(string unquotedCommandLineArg, CommandLineSwitches commandLineSwitches) + private static void GatherResponseFileSwitch(string unquotedCommandLineArg, CommandLineSwitches commandLineSwitches, string commandLine) { try { @@ -1842,11 +1853,11 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm if (responseFile.Length == 0) { - commandLineSwitches.SetSwitchError("MissingResponseFileError", unquotedCommandLineArg); + commandLineSwitches.SetSwitchError("MissingResponseFileError", unquotedCommandLineArg, commandLine); } else if (!FileSystems.Default.FileExists(responseFile)) { - commandLineSwitches.SetParameterError("ResponseFileNotFoundError", unquotedCommandLineArg); + commandLineSwitches.SetParameterError("ResponseFileNotFoundError", unquotedCommandLineArg, commandLine); } else { @@ -1860,7 +1871,7 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm { if (string.Equals(responseFile, includedResponseFile, StringComparison.OrdinalIgnoreCase)) { - commandLineSwitches.SetParameterError("RepeatedResponseFileError", unquotedCommandLineArg); + commandLineSwitches.SetParameterError("RepeatedResponseFileError", unquotedCommandLineArg, commandLine); isRepeatedResponseFile = true; break; } @@ -1899,25 +1910,25 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm } } - GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches); + GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches, commandLine); } } } catch (NotSupportedException e) { - commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e); + commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e, commandLine); } catch (SecurityException e) { - commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e); + commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e, commandLine); } catch (UnauthorizedAccessException e) { - commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e); + commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e, commandLine); } catch (IOException e) { - commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e); + commandLineSwitches.SetParameterError("ReadResponseFileError", unquotedCommandLineArg, e, commandLine); } } @@ -1935,7 +1946,8 @@ private static void GatherParameterlessCommandLineSwitch CommandLineSwitches.ParameterlessSwitch parameterlessSwitch, string switchParameters, string duplicateSwitchErrorMessage, - string unquotedCommandLineArg + string unquotedCommandLineArg, + string commandLine ) { // switch should not have any parameters @@ -1949,12 +1961,12 @@ string unquotedCommandLineArg } else { - commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg); + commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); } } else { - commandLineSwitches.SetUnexpectedParametersError(unquotedCommandLineArg); + commandLineSwitches.SetUnexpectedParametersError(unquotedCommandLineArg, commandLine); } } @@ -1980,7 +1992,8 @@ private static void GatherParameterizedCommandLineSwitch string missingParametersErrorMessage, bool unquoteParameters, string unquotedCommandLineArg, - bool allowEmptyParameters + bool allowEmptyParameters, + string commandLine ) { if (// switch must have parameters @@ -2004,7 +2017,7 @@ bool allowEmptyParameters // if parsing revealed there were no real parameters, flag an error, unless the parameters are optional if (missingParametersErrorMessage != null) { - commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg); + commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); } } } @@ -2024,25 +2037,30 @@ bool allowEmptyParameters // if parsing revealed there were no real parameters, flag an error, unless the parameters are optional if (missingParametersErrorMessage != null) { - commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg); + commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); } } } } else { - commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg); + commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); } } else { - commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg); + commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); } } - private static bool IsEnvironmentVariable(string s) + /// + /// Checks whether envVar is an environment variable. + /// + /// A possible environment variable + /// Whether envVar is an environment variable + private static bool IsEnvironmentVariable(string envVar) { - return s.StartsWith("$") || (s.StartsWith("%") && s.EndsWith("%") && s.Length > 1); + return envVar.StartsWith("$") || (envVar.StartsWith("%") && envVar.EndsWith("%") && envVar.Length > 1); } /// @@ -2070,13 +2088,13 @@ private static bool IsEnvironmentVariable(string s) /// switches from the auto-response file with the switches passed in. /// Returns true if the response file was found. /// - private static bool GatherAutoResponseFileSwitches(string path, CommandLineSwitches switchesFromAutoResponseFile) + private static bool GatherAutoResponseFileSwitches(string path, CommandLineSwitches switchesFromAutoResponseFile, string commandLine) { string autoResponseFile = Path.Combine(path, autoResponseFileName); - return GatherAutoResponseFileSwitchesFromFullPath(autoResponseFile, switchesFromAutoResponseFile); + return GatherAutoResponseFileSwitchesFromFullPath(autoResponseFile, switchesFromAutoResponseFile, commandLine); } - private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoResponseFile, CommandLineSwitches switchesFromAutoResponseFile) + private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoResponseFile, CommandLineSwitches switchesFromAutoResponseFile, string commandLine) { bool found = false; @@ -2084,13 +2102,13 @@ private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoRespon if (FileSystems.Default.FileExists(autoResponseFile)) { found = true; - GatherResponseFileSwitch($"@{autoResponseFile}", switchesFromAutoResponseFile); + GatherResponseFileSwitch($"@{autoResponseFile}", switchesFromAutoResponseFile, commandLine); // if the "/noautoresponse" switch was set in the auto-response file, flag an error if (switchesFromAutoResponseFile[CommandLineSwitches.ParameterlessSwitch.NoAutoResponse]) { switchesFromAutoResponseFile.SetSwitchError("CannotAutoDisableAutoResponseFile", - switchesFromAutoResponseFile.GetParameterlessSwitchCommandLineArg(CommandLineSwitches.ParameterlessSwitch.NoAutoResponse)); + switchesFromAutoResponseFile.GetParameterlessSwitchCommandLineArg(CommandLineSwitches.ParameterlessSwitch.NoAutoResponse), commandLine); } if (switchesFromAutoResponseFile.HaveAnySwitchesBeenSet()) @@ -2143,7 +2161,8 @@ private static bool ProcessCommandLineSwitches ref string[] inputResultsCaches, ref string outputResultsCache, ref bool lowPriority, - bool recursing + bool recursing, + string commandLine ) { bool invokeBuild = false; @@ -2154,8 +2173,8 @@ bool recursing // (1) switches from the msbuild.rsp file/s, including recursively included response files // (2) switches from the command line, including recursively included response file switches inserted at the point they are declared with their "@" symbol CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - commandLineSwitches.Append(switchesFromAutoResponseFile); // lowest precedence - commandLineSwitches.Append(switchesNotFromAutoResponseFile); + commandLineSwitches.Append(switchesFromAutoResponseFile, commandLine); // lowest precedence + commandLineSwitches.Append(switchesNotFromAutoResponseFile, commandLine); #if DEBUG if (commandLineSwitches[CommandLineSwitches.ParameterlessSwitch.WaitForDebugger]) @@ -2213,13 +2232,13 @@ bool recursing // gather any switches from the first Directory.Build.rsp found in the project directory or above string directoryResponseFile = FileUtilities.GetPathOfFileAbove(directoryResponseFileName, projectDirectory); - bool found = !string.IsNullOrWhiteSpace(directoryResponseFile) && GatherAutoResponseFileSwitchesFromFullPath(directoryResponseFile, switchesFromAutoResponseFile); + bool found = !string.IsNullOrWhiteSpace(directoryResponseFile) && GatherAutoResponseFileSwitchesFromFullPath(directoryResponseFile, switchesFromAutoResponseFile, commandLine); // Don't look for more response files if it's only in the same place we already looked (next to the exe) if (!string.Equals(projectDirectory, s_exePath, StringComparison.OrdinalIgnoreCase)) { // this combines any found, with higher precedence, with the switches from the original auto response file switches - found |= GatherAutoResponseFileSwitches(projectDirectory, switchesFromAutoResponseFile); + found |= GatherAutoResponseFileSwitches(projectDirectory, switchesFromAutoResponseFile, commandLine); } if (found) @@ -2260,7 +2279,8 @@ bool recursing ref inputResultsCaches, ref outputResultsCache, ref lowPriority, - recursing: true + recursing: true, + commandLine ); } } From ab4b6ba82a352439506f2355b2184148f4d17a52 Mon Sep 17 00:00:00 2001 From: Forgind Date: Tue, 4 Jan 2022 16:40:48 -0800 Subject: [PATCH 03/25] Add hack to string --- src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index 4f285592a5d..5f8a157349a 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -1176,7 +1176,7 @@ public void ProcessWarnAsMessageSwitchEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, string.Empty); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, /*This is a hack so the error message contains the exact resource string.*/ "{0}"); VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.GetString("MissingWarnAsMessageParameterError")); } From 4bf36137e2d25216771d6214ad763d0c07c420b9 Mon Sep 17 00:00:00 2001 From: Forgind Date: Wed, 5 Jan 2022 11:34:33 -0800 Subject: [PATCH 04/25] Always point to the environment variable --- src/MSBuild/XMake.cs | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 3195c738726..732eec7b3e2 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -2022,25 +2022,9 @@ string commandLine } } else if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && switchParameters.Length > 0 && - (IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project)) || - IsEnvironmentVariable(switchParameters.Substring(1)))) + IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project))) { - if (IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project))) - { - if (switchParameters.Length > 0) - { - switchParameters = switchParameters.Substring(1); - } - - if (!commandLineSwitches.OverrideParameterizedSwitch(parameterizedSwitch, unquotedCommandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, allowEmptyParameters)) - { - // if parsing revealed there were no real parameters, flag an error, unless the parameters are optional - if (missingParametersErrorMessage != null) - { - commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); - } - } - } + commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project), commandLine); } else { @@ -2054,13 +2038,15 @@ string commandLine } /// - /// Checks whether envVar is an environment variable. + /// Checks whether envVar is an environment variable. MSBuild uses + /// Environment.ExpandEnvironmentVariables(string), which only + /// considers %-delimited variables. /// /// A possible environment variable /// Whether envVar is an environment variable private static bool IsEnvironmentVariable(string envVar) { - return envVar.StartsWith("$") || (envVar.StartsWith("%") && envVar.EndsWith("%") && envVar.Length > 1); + return envVar.StartsWith("%") && envVar.EndsWith("%") && envVar.Length > 1; } /// From 11a2359263c9328e7ab05efc31828e6afa968590 Mon Sep 17 00:00:00 2001 From: Forgind Date: Wed, 5 Jan 2022 11:54:19 -0800 Subject: [PATCH 05/25] Create new error --- src/MSBuild/Resources/Strings.resx | 9 ++++++++- src/MSBuild/Resources/xlf/Strings.cs.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.de.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.es.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.fr.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.it.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.ja.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.ko.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.pl.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.ru.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.tr.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 8 ++++++++ src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 8 ++++++++ src/MSBuild/XMake.cs | 10 +++++----- 15 files changed, 117 insertions(+), 6 deletions(-) diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 7320946dce3..668b868212c 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -1277,6 +1277,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. logger could not be created -- this message comes from the CLR/FX and is localized. + + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + + Process = "{0}" @@ -1295,7 +1302,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index e289e1a1003..1f8c9ea1a71 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 74433caf4cf..7e087186004 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index 864e2ea991b..d72c08faf4d 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index 078756081cf..01671c567ad 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index e5a9f4c6501..bf7141112a8 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index 8ad77e9f329..a90fee98f28 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation.All rights reserved. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index 0e839440871..3f0674d42f9 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index 545b5887ab0..1b9943959bb 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index b82235f302a..9dff569e1d2 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. Todos os direitos reservados. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index 597149e9128..62e51c4bc19 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index dc55251b8e8..3c0000aadd3 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -54,6 +54,14 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 649230beb4b..54a8e4db457 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 48fcd8d2a3d..0c0e49e9a38 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -54,6 +54,14 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. + + + Undefined environment variable passed in as switch. Full path: '{0}' + Undefined environment variable passed in as switch. Full path: '{0}' + + UE: This error is shown when a user passes in an environment variable (including from a response file) + but the environment variable is not defined. + MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 732eec7b3e2..261850e29f0 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -2011,6 +2011,11 @@ string commandLine switchParameters = switchParameters.Substring(1); } + if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && IsEnvironmentVariable(switchParameters)) + { + commandLineSwitches.SetSwitchError("EnvironmentVariableAsSwitch", unquotedCommandLineArg, commandLine); + } + // save the parameters after unquoting and splitting them if necessary if (!commandLineSwitches.SetParameterizedSwitch(parameterizedSwitch, unquotedCommandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, allowEmptyParameters)) { @@ -2021,11 +2026,6 @@ string commandLine } } } - else if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && switchParameters.Length > 0 && - IsEnvironmentVariable(commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project))) - { - commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.Project), commandLine); - } else { commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); From 062b313daf516e7840da7d45e7c5996fa595c6ce Mon Sep 17 00:00:00 2001 From: Forgind Date: Wed, 5 Jan 2022 12:16:15 -0800 Subject: [PATCH 06/25] Move check earlier It otherwise only caught an environment variable if it was the first "project" switch but not if it was the duplicate. --- src/MSBuild/Resources/Strings.resx | 3 ++- src/MSBuild/Resources/xlf/Strings.cs.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.de.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.es.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.fr.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.it.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.ja.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.ko.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.pl.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.ru.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.tr.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 5 +++-- src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 5 +++-- src/MSBuild/XMake.cs | 22 +++++++++---------- 15 files changed, 52 insertions(+), 38 deletions(-) diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 668b868212c..5d9aa3dbdaf 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -1278,8 +1278,9 @@ Copyright (C) Microsoft Corporation. All rights reserved. - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index 1f8c9ea1a71..7a32ff9dc0d 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 7e087186004..901e3eed027 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index d72c08faf4d..af08d5550d4 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index 01671c567ad..682d51a283d 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index bf7141112a8..65a14d6882f 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index a90fee98f28..2ba49c02f6a 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index 3f0674d42f9..78e55f95a14 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index 1b9943959bb..9ecd8f80bdb 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index 9dff569e1d2..9ffc1ebfb88 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. Todos os direitos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index 62e51c4bc19..d82057e3259 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index 3c0000aadd3..48cf4460247 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -56,9 +56,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 54a8e4db457..7c63ec2ba3d 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 0c0e49e9a38..362d238a7d1 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -56,9 +56,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - Undefined environment variable passed in as switch. Full path: '{0}' - Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) but the environment variable is not defined. diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 261850e29f0..c52ce6076d0 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -2001,21 +2001,21 @@ string commandLine // unless the parameters are optional (missingParametersErrorMessage == null)) { + // skip the parameter indicator (if any) + if (switchParameters.Length > 0) + { + switchParameters = switchParameters.Substring(1); + } + + if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && IsEnvironmentVariable(switchParameters)) + { + commandLineSwitches.SetSwitchError("EnvironmentVariableAsSwitch", unquotedCommandLineArg, commandLine); + } + // check if switch is duplicated, and if that's allowed if (!commandLineSwitches.IsParameterizedSwitchSet(parameterizedSwitch) || (duplicateSwitchErrorMessage == null)) { - // skip the parameter indicator (if any) - if (switchParameters.Length > 0) - { - switchParameters = switchParameters.Substring(1); - } - - if (parameterizedSwitch == CommandLineSwitches.ParameterizedSwitch.Project && IsEnvironmentVariable(switchParameters)) - { - commandLineSwitches.SetSwitchError("EnvironmentVariableAsSwitch", unquotedCommandLineArg, commandLine); - } - // save the parameters after unquoting and splitting them if necessary if (!commandLineSwitches.SetParameterizedSwitch(parameterizedSwitch, unquotedCommandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, allowEmptyParameters)) { From 41427e43c544370988cecf1b13d3b886eac4e691 Mon Sep 17 00:00:00 2001 From: Forgind Date: Wed, 5 Jan 2022 12:16:23 -0800 Subject: [PATCH 07/25] Add test for new behavior --- .../CommandLineSwitches_Tests.cs | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index 5f8a157349a..3fce119db90 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -1181,6 +1181,32 @@ public void ProcessWarnAsMessageSwitchEmpty() VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.GetString("MissingWarnAsMessageParameterError")); } + /// + /// Verify that environment variables cannot be passed in as command line switches. + /// Also verifies that the full command line is properly passed when a switch error occurs. + /// + [Fact] + public void ProcessEnvironmentVariableSwitch() + { + string savedEnvironmentVariable = Environment.GetEnvironmentVariable("ENVIRONMENTVARIABLE"); + Environment.SetEnvironmentVariable("ENVIRONMENTVARIABLE", null); + + CommandLineSwitches commandLineSwitches = new(); + string fullCommandLine = "msbuild validProject.csproj %ENVIRONMENTVARIABLE%"; + MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, fullCommandLine); + VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); + + commandLineSwitches = new(); + fullCommandLine = "msbuild %ENVIRONMENTVARIABLE% validProject.csproj"; + MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, fullCommandLine); + VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); + + if (savedEnvironmentVariable is not null) + { + Environment.SetEnvironmentVariable("ENVIRONMENTVARIABLE", savedEnvironmentVariable); + } + } + /// /// Verifies that the /warnasmessage switch is parsed properly when codes are specified. /// From 76afef41ab5f337cafa74a7665475713df44493a Mon Sep 17 00:00:00 2001 From: Forgind Date: Wed, 5 Jan 2022 12:18:01 -0800 Subject: [PATCH 08/25] Delete unused method --- src/MSBuild/CommandLineSwitches.cs | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/MSBuild/CommandLineSwitches.cs b/src/MSBuild/CommandLineSwitches.cs index 22206252993..8ab4afc6a2f 100644 --- a/src/MSBuild/CommandLineSwitches.cs +++ b/src/MSBuild/CommandLineSwitches.cs @@ -438,29 +438,6 @@ internal void SetParameterlessSwitch(ParameterlessSwitch parameterlessSwitch, st // list of recognized switch parameter separators -- for switches that take multiple parameters private static readonly char[] s_parameterSeparators = { ',', ';' }; - /// - /// Called when a recognized switch that takes parameters is detected on the command line, - /// but an invalid switch of the same kind was detected first. Here we pretend the first - /// switch didn't exist and override it. - /// - /// - /// - /// - /// - /// true, if the given parameters were successfully stored - internal bool OverrideParameterizedSwitch( - ParameterizedSwitch parameterizedSwitch, - string commandLineArg, - string switchParameters, - bool multipleParametersAllowed, - bool unquoteParameters, - bool emptyParametersAllowed - ) - { - _parameterizedSwitches[(int)parameterizedSwitch].commandLineArg = null; - return SetParameterizedSwitch(parameterizedSwitch, commandLineArg, switchParameters, multipleParametersAllowed, unquoteParameters, emptyParametersAllowed); - } - /// /// Called when a recognized switch that takes parameters is detected on the command line. /// From 44a87c90e7960280d1581dea0db6389918258461 Mon Sep 17 00:00:00 2001 From: Forgind Date: Thu, 6 Jan 2022 12:21:09 -0800 Subject: [PATCH 09/25] Include rsps in command line --- .../CommandLineSwitches_Tests.cs | 49 ++++++++++++------- src/MSBuild.UnitTests/XMake_Tests.cs | 15 ++++-- src/MSBuild/XMake.cs | 27 +++++----- 3 files changed, 56 insertions(+), 35 deletions(-) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index 3fce119db90..12a8dcc6436 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -458,7 +458,8 @@ public void TargetsSwitchIdentificationTests(string @switch) public void TargetsSwitchParameter() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches, ref command); switches.HaveErrors().ShouldBeFalse(); switches[CommandLineSwitches.ParameterizedSwitch.Targets].ShouldBe(new[] { "targets.txt" }); @@ -468,7 +469,8 @@ public void TargetsSwitchParameter() public void TargetsSwitchDoesNotSupportMultipleOccurrences() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches, ref command); switches.HaveErrors().ShouldBeTrue(); } @@ -546,7 +548,8 @@ public void GraphBuildSwitchCanHaveParameters() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List{ "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List{ "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches, ref command); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(new[] {"true", " NoBuild ", " ", "foo"}); @@ -558,7 +561,8 @@ public void GraphBuildSwitchCanBeParameterless() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List{ "/graph" }, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List{ "/graph" }, switches, ref command); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(new string[0]); @@ -570,7 +574,8 @@ public void InputResultsCachesSupportsMultipleOccurrence() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches, ref command); switches[CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].ShouldBe(new []{null, "a", "b", "c", "d"}); @@ -582,7 +587,8 @@ public void OutputResultsCache() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches, ref command); switches[CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].ShouldBe(new []{"a"}); @@ -594,7 +600,8 @@ public void OutputResultsCachesDoesNotSupportMultipleOccurrences() { CommandLineSwitches switches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches, ref command); switches.HaveErrors().ShouldBeTrue(); } @@ -1074,7 +1081,8 @@ public void ProcessWarnAsErrorSwitchNotSpecified() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches, ref command); Assert.Null(MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches)); } @@ -1089,6 +1097,7 @@ public void ProcessWarnAsErrorSwitchWithCodes() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); + string command = string.Empty; MSBuildApp.GatherCommandLineSwitches(new List(new[] { "\"/warnaserror: a,B ; c \"", // Leading, trailing, leading and trailing whitespace @@ -1097,7 +1106,7 @@ public void ProcessWarnAsErrorSwitchWithCodes() "/err:D,d;E,e", // A different source with new items and uses the short form "/warnaserror:a", // A different source with a single duplicate "/warnaserror:a,b", // A different source with multiple duplicates - }), commandLineSwitches, string.Empty); + }), commandLineSwitches, ref command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1114,11 +1123,12 @@ public void ProcessWarnAsErrorSwitchEmptySwitchClearsSet() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); + string command = string.Empty; MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnaserror:a;b;c", "/warnaserror", - }), commandLineSwitches, string.Empty); + }), commandLineSwitches, ref command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1137,12 +1147,13 @@ public void ProcessWarnAsErrorSwitchValuesAfterEmptyAddOn() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); + string command = string.Empty; MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnaserror:a;b;c", "/warnaserror", "/warnaserror:e;f;g", - }), commandLineSwitches, string.Empty); + }), commandLineSwitches, ref command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1159,7 +1170,8 @@ public void ProcessWarnAsErrorSwitchEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches, ref command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1176,7 +1188,8 @@ public void ProcessWarnAsMessageSwitchEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, /*This is a hack so the error message contains the exact resource string.*/ "{0}"); + string command = "{0}"; // This is a hack so the error message contains the exact resource string. + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, ref command); VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.GetString("MissingWarnAsMessageParameterError")); } @@ -1193,12 +1206,12 @@ public void ProcessEnvironmentVariableSwitch() CommandLineSwitches commandLineSwitches = new(); string fullCommandLine = "msbuild validProject.csproj %ENVIRONMENTVARIABLE%"; - MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, fullCommandLine); + MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, ref fullCommandLine); VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); commandLineSwitches = new(); fullCommandLine = "msbuild %ENVIRONMENTVARIABLE% validProject.csproj"; - MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, fullCommandLine); + MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, ref fullCommandLine); VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); if (savedEnvironmentVariable is not null) @@ -1217,6 +1230,7 @@ public void ProcessWarnAsMessageSwitchWithCodes() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); + string command = string.Empty; MSBuildApp.GatherCommandLineSwitches(new List(new[] { "\"/warnasmessage: a,B ; c \"", // Leading, trailing, leading and trailing whitespace @@ -1225,7 +1239,7 @@ public void ProcessWarnAsMessageSwitchWithCodes() "/nowarn:D,d;E,e", // A different source with new items and uses the short form "/warnasmessage:a", // A different source with a single duplicate "/warnasmessage:a,b", // A different source with multiple duplicates - }), commandLineSwitches, string.Empty); + }), commandLineSwitches, ref command); ISet actualWarningsAsMessages = MSBuildApp.ProcessWarnAsMessageSwitch(commandLineSwitches); @@ -1242,7 +1256,8 @@ public void ProcessProfileEvaluationEmpty() { CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches, ref command); commandLineSwitches[CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation][0].ShouldBe("no-file"); } diff --git a/src/MSBuild.UnitTests/XMake_Tests.cs b/src/MSBuild.UnitTests/XMake_Tests.cs index 06d6e1cbfff..6c4c0ece35f 100644 --- a/src/MSBuild.UnitTests/XMake_Tests.cs +++ b/src/MSBuild.UnitTests/XMake_Tests.cs @@ -50,7 +50,8 @@ public void GatherCommandLineSwitchesTwoProperties() var arguments = new List(); arguments.AddRange(new[] { "/p:a=b", "/p:c=d" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -67,7 +68,8 @@ public void GatherCommandLineSwitchesAnyDash() "--p:maxcpucount=8" }; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -82,7 +84,8 @@ public void GatherCommandLineSwitchesMaxCpuCountWithArgument() var arguments = new List(); arguments.AddRange(new[] { "/m:2" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[0].ShouldBe("2"); @@ -99,7 +102,8 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgument() var arguments = new List(); arguments.AddRange(new[] { "/m:3", "/m" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[1].ShouldBe(Convert.ToString(NativeMethodsShared.GetLogicalCoreCount())); @@ -119,7 +123,8 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgumentButWithColon() var arguments = new List(); arguments.AddRange(new[] { "/m:" }); - MSBuildApp.GatherCommandLineSwitches(arguments, switches, string.Empty); + string command = string.Empty; + MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters.Length.ShouldBe(0); diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index c52ce6076d0..e075408983c 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -26,7 +26,6 @@ using Microsoft.Build.Logging; using Microsoft.Build.Shared; using Microsoft.Build.Shared.FileSystem; -using Microsoft.Build.Utilities; #if (!STANDALONEBUILD) using Microsoft.Internal.Performance; #endif @@ -1654,14 +1653,14 @@ private static void GatherAllSwitches( // parse the command line, and flag syntax errors and obvious switch errors switchesNotFromAutoResponseFile = new CommandLineSwitches(); - GatherCommandLineSwitches(commandLineArgs, switchesNotFromAutoResponseFile, fullCommandLine); + GatherCommandLineSwitches(commandLineArgs, switchesNotFromAutoResponseFile, ref fullCommandLine); // parse the auto-response file (if "/noautoresponse" is not specified), and combine those switches with the // switches on the command line switchesFromAutoResponseFile = new CommandLineSwitches(); if (!switchesNotFromAutoResponseFile[CommandLineSwitches.ParameterlessSwitch.NoAutoResponse]) { - GatherAutoResponseFileSwitches(s_exePath, switchesFromAutoResponseFile, fullCommandLine); + GatherAutoResponseFileSwitches(s_exePath, switchesFromAutoResponseFile, ref fullCommandLine); } } @@ -1672,7 +1671,7 @@ private static void GatherAllSwitches( /// /// Internal for unit testing only. /// - internal static void GatherCommandLineSwitches(List commandLineArgs, CommandLineSwitches commandLineSwitches, string commandLine) + internal static void GatherCommandLineSwitches(List commandLineArgs, CommandLineSwitches commandLineSwitches, ref string commandLine) { foreach (string commandLineArg in commandLineArgs) { @@ -1683,7 +1682,7 @@ internal static void GatherCommandLineSwitches(List commandLineArgs, Com // response file switch starts with @ if (unquotedCommandLineArg.StartsWith("@", StringComparison.Ordinal)) { - GatherResponseFileSwitch(unquotedCommandLineArg, commandLineSwitches, commandLine); + GatherResponseFileSwitch(unquotedCommandLineArg, commandLineSwitches, ref commandLine); } else { @@ -1845,7 +1844,7 @@ int switchIndicatorsLength /// /// /// - private static void GatherResponseFileSwitch(string unquotedCommandLineArg, CommandLineSwitches commandLineSwitches, string commandLine) + private static void GatherResponseFileSwitch(string unquotedCommandLineArg, CommandLineSwitches commandLineSwitches, ref string commandLine) { try { @@ -1910,7 +1909,9 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm } } - GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches, commandLine); + commandLine += ' ' + string.Join(" ", argsFromResponseFile); + + GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches, ref commandLine); } } } @@ -2074,13 +2075,13 @@ private static bool IsEnvironmentVariable(string envVar) /// switches from the auto-response file with the switches passed in. /// Returns true if the response file was found. /// - private static bool GatherAutoResponseFileSwitches(string path, CommandLineSwitches switchesFromAutoResponseFile, string commandLine) + private static bool GatherAutoResponseFileSwitches(string path, CommandLineSwitches switchesFromAutoResponseFile, ref string commandLine) { string autoResponseFile = Path.Combine(path, autoResponseFileName); - return GatherAutoResponseFileSwitchesFromFullPath(autoResponseFile, switchesFromAutoResponseFile, commandLine); + return GatherAutoResponseFileSwitchesFromFullPath(autoResponseFile, switchesFromAutoResponseFile, ref commandLine); } - private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoResponseFile, CommandLineSwitches switchesFromAutoResponseFile, string commandLine) + private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoResponseFile, CommandLineSwitches switchesFromAutoResponseFile, ref string commandLine) { bool found = false; @@ -2088,7 +2089,7 @@ private static bool GatherAutoResponseFileSwitchesFromFullPath(string autoRespon if (FileSystems.Default.FileExists(autoResponseFile)) { found = true; - GatherResponseFileSwitch($"@{autoResponseFile}", switchesFromAutoResponseFile, commandLine); + GatherResponseFileSwitch($"@{autoResponseFile}", switchesFromAutoResponseFile, ref commandLine); // if the "/noautoresponse" switch was set in the auto-response file, flag an error if (switchesFromAutoResponseFile[CommandLineSwitches.ParameterlessSwitch.NoAutoResponse]) @@ -2218,13 +2219,13 @@ string commandLine // gather any switches from the first Directory.Build.rsp found in the project directory or above string directoryResponseFile = FileUtilities.GetPathOfFileAbove(directoryResponseFileName, projectDirectory); - bool found = !string.IsNullOrWhiteSpace(directoryResponseFile) && GatherAutoResponseFileSwitchesFromFullPath(directoryResponseFile, switchesFromAutoResponseFile, commandLine); + bool found = !string.IsNullOrWhiteSpace(directoryResponseFile) && GatherAutoResponseFileSwitchesFromFullPath(directoryResponseFile, switchesFromAutoResponseFile, ref commandLine); // Don't look for more response files if it's only in the same place we already looked (next to the exe) if (!string.Equals(projectDirectory, s_exePath, StringComparison.OrdinalIgnoreCase)) { // this combines any found, with higher precedence, with the switches from the original auto response file switches - found |= GatherAutoResponseFileSwitches(projectDirectory, switchesFromAutoResponseFile, commandLine); + found |= GatherAutoResponseFileSwitches(projectDirectory, switchesFromAutoResponseFile, ref commandLine); } if (found) From 4d9d090e9d5435e756f0e7c24c409b6a9c7dff37 Mon Sep 17 00:00:00 2001 From: Forgind Date: Thu, 6 Jan 2022 12:46:57 -0800 Subject: [PATCH 10/25] Use TestEnvironment --- .../CommandLineSwitches_Tests.cs | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index 12a8dcc6436..942555539ff 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -1201,22 +1201,19 @@ public void ProcessWarnAsMessageSwitchEmpty() [Fact] public void ProcessEnvironmentVariableSwitch() { - string savedEnvironmentVariable = Environment.GetEnvironmentVariable("ENVIRONMENTVARIABLE"); - Environment.SetEnvironmentVariable("ENVIRONMENTVARIABLE", null); - - CommandLineSwitches commandLineSwitches = new(); - string fullCommandLine = "msbuild validProject.csproj %ENVIRONMENTVARIABLE%"; - MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, ref fullCommandLine); - VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); + using (TestEnvironment env = TestEnvironment.Create()) + { + env.SetEnvironmentVariable("ENVIRONMENTVARIABLE", string.Empty); - commandLineSwitches = new(); - fullCommandLine = "msbuild %ENVIRONMENTVARIABLE% validProject.csproj"; - MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, ref fullCommandLine); - VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); + CommandLineSwitches commandLineSwitches = new(); + string fullCommandLine = "msbuild validProject.csproj %ENVIRONMENTVARIABLE%"; + MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, ref fullCommandLine); + VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); - if (savedEnvironmentVariable is not null) - { - Environment.SetEnvironmentVariable("ENVIRONMENTVARIABLE", savedEnvironmentVariable); + commandLineSwitches = new(); + fullCommandLine = "msbuild %ENVIRONMENTVARIABLE% validProject.csproj"; + MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, ref fullCommandLine); + VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); } } From ba4283c4a80e711f58dd4a73b27e42e357d7021e Mon Sep 17 00:00:00 2001 From: Forgind Date: Fri, 7 Jan 2022 12:37:54 -0800 Subject: [PATCH 11/25] Include response file paths in command line --- src/MSBuild/XMake.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index e075408983c..52289913ead 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -1909,7 +1909,7 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm } } - commandLine += ' ' + string.Join(" ", argsFromResponseFile); + commandLine += $"' '{responseFile}': '{string.Join(" ", argsFromResponseFile)}"; GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches, ref commandLine); } From 1e9d5c707bd4b77f82afcb999cc352114344e7c5 Mon Sep 17 00:00:00 2001 From: Forgind Date: Fri, 7 Jan 2022 12:39:30 -0800 Subject: [PATCH 12/25] Fix resource string --- src/MSBuild/Resources/Strings.resx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 5d9aa3dbdaf..3228ed535d2 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -1278,7 +1278,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) From 6174c75846dd7754b482a0dfdc2c1fc0eb1837a6 Mon Sep 17 00:00:00 2001 From: Forgind Date: Fri, 7 Jan 2022 12:39:44 -0800 Subject: [PATCH 13/25] Build --- src/MSBuild/Resources/xlf/Strings.cs.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.de.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.es.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.fr.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.it.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.ja.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.ko.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.pl.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.ru.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.tr.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 4 ++-- src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index 7a32ff9dc0d..fbee21b8d8f 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 901e3eed027..05bf333ecc5 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index af08d5550d4..224e1a6907a 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index 682d51a283d..3070bef94a0 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index 65a14d6882f..617f1e0f291 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index 2ba49c02f6a..b99d2faf7bd 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation.All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index 78e55f95a14..629ab434da0 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index 9ecd8f80bdb..55d6a4ea99d 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index 9ffc1ebfb88..06a5c315b1d 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. Todos os direitos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index d82057e3259..84ae7749bf4 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index 48cf4460247..e15ed921e7e 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -56,8 +56,8 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 7c63ec2ba3d..0428d863e12 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 362d238a7d1..2fe59d8a8c2 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -56,8 +56,8 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full path: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) From ad31551207f078219cdac2c7cdad8796857efdfe Mon Sep 17 00:00:00 2001 From: Forgind Date: Mon, 10 Jan 2022 10:20:25 -0800 Subject: [PATCH 14/25] Adjust format --- src/MSBuild/Resources/Strings.resx | 65 ++++++--- src/MSBuild/Resources/xlf/Strings.cs.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.de.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.es.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.fr.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.it.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.ja.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.ko.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.pl.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.ru.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.tr.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 130 ++++++++++++------ src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 130 ++++++++++++------ src/MSBuild/XMake.cs | 6 +- 15 files changed, 1164 insertions(+), 597 deletions(-) diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 3228ed535d2..2db5f3ac4c0 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -83,7 +83,8 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -93,7 +94,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: {0} contains the DLL version number. {1} contains the name of a runtime, like ".NET Framework", ".NET Core", or "Mono" - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -946,7 +948,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -954,7 +957,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -969,7 +973,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -977,7 +982,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -985,7 +991,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -993,7 +1000,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1002,7 +1010,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1038,13 +1047,14 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1053,7 +1063,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1082,13 +1093,15 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1100,7 +1113,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. Forcing load of Microsoft.Build.Engine because MSBUILDOLDOM=1... - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1112,7 +1126,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1120,7 +1135,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1128,7 +1144,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1252,7 +1269,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. A file location to be embedded in a string. - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1263,10 +1281,12 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1053: Provided filename is not valid. {0} - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} @@ -1278,7 +1298,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index fbee21b8d8f..2578758ead3 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1151,8 +1159,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1160,8 +1170,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1177,8 +1189,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1186,8 +1200,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1195,8 +1211,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1204,8 +1222,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1214,8 +1234,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1271,16 +1293,18 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1289,8 +1313,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1328,15 +1354,19 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1351,8 +1381,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1365,8 +1397,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1374,8 +1408,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1383,8 +1419,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1524,8 +1562,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1722,8 +1762,10 @@ Copyright (C) Microsoft Corporation. Všechna práva vyhrazena. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 05bf333ecc5..5e9ae16df5c 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1516,8 +1554,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1714,8 +1754,10 @@ Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index 224e1a6907a..418235ced0f 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1152,8 +1160,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1161,8 +1171,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1178,8 +1190,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1187,8 +1201,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1196,8 +1212,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1205,8 +1223,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1215,8 +1235,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1272,16 +1294,18 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1290,8 +1314,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1329,15 +1355,19 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1352,8 +1382,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1366,8 +1398,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1375,8 +1409,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1384,8 +1420,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1525,8 +1563,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1721,8 +1761,10 @@ Copyright (C) Microsoft Corporation. Todos los derechos reservados. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index 3070bef94a0..422379f3f0d 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1517,8 +1555,10 @@ Copyright (C) Microsoft Corporation. Tous droits réservés. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1732,8 +1772,10 @@ fois plus petit que le journal - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index 617f1e0f291..2c09f54b33a 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1165,8 +1173,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1174,8 +1184,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1191,8 +1203,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1200,8 +1214,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1209,8 +1225,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1218,8 +1236,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1228,8 +1248,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1285,16 +1307,18 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1303,8 +1327,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1342,15 +1368,19 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1365,8 +1395,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1379,8 +1411,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1388,8 +1422,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1397,8 +1433,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1540,8 +1578,10 @@ Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1741,8 +1781,10 @@ Esegue la profilatura della valutazione di MSBuild e scrive - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index b99d2faf7bd..5b53f7a844a 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation.All rights reserved. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1516,8 +1554,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1714,8 +1754,10 @@ Copyright (C) Microsoft Corporation.All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index 629ab434da0..fd29c800a50 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1516,8 +1554,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1714,8 +1754,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index 55d6a4ea99d..ee49f5870a2 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1157,8 +1165,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1166,8 +1176,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1183,8 +1195,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1192,8 +1206,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1201,8 +1217,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1210,8 +1228,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1220,8 +1240,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1277,16 +1299,18 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1295,8 +1319,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1334,15 +1360,19 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1357,8 +1387,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1371,8 +1403,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1380,8 +1414,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1389,8 +1425,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1530,8 +1568,10 @@ Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1728,8 +1768,10 @@ dzienników tekstowych i wykorzystać w innych narzędziach - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index 06a5c315b1d..877e60d7a46 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. Todos os direitos reservados. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1144,8 +1152,10 @@ isoladamente. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1153,8 +1163,10 @@ isoladamente. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1170,8 +1182,10 @@ isoladamente. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1179,8 +1193,10 @@ isoladamente. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1188,8 +1204,10 @@ isoladamente. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1197,8 +1215,10 @@ isoladamente. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1207,8 +1227,10 @@ isoladamente. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1264,16 +1286,18 @@ isoladamente. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1282,8 +1306,10 @@ isoladamente. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1321,15 +1347,19 @@ isoladamente. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1344,8 +1374,10 @@ isoladamente. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1358,8 +1390,10 @@ isoladamente. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1367,8 +1401,10 @@ isoladamente. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1376,8 +1412,10 @@ isoladamente. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1517,8 +1555,10 @@ isoladamente. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1715,8 +1755,10 @@ isoladamente. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index 84ae7749bf4..177af4d557b 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1142,8 +1150,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1151,8 +1161,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1168,8 +1180,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1177,8 +1191,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1186,8 +1202,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1195,8 +1213,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1205,8 +1225,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1262,16 +1284,18 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1280,8 +1304,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1319,15 +1345,19 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1342,8 +1372,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1356,8 +1388,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1365,8 +1399,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1374,8 +1410,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1517,8 +1555,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1715,8 +1755,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index e15ed921e7e..4ee767bc88d 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1147,8 +1155,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1156,8 +1166,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1173,8 +1185,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1182,8 +1196,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1191,8 +1207,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1200,8 +1218,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1210,8 +1230,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1267,16 +1289,18 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1285,8 +1309,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1324,15 +1350,19 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1347,8 +1377,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1361,8 +1393,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1370,8 +1404,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1379,8 +1415,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1520,8 +1558,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1718,8 +1758,10 @@ Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 0428d863e12..977d44403dc 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1516,8 +1554,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1714,8 +1754,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index 2fe59d8a8c2..936ad3eb31e 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -24,8 +24,10 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. Full command line: '{0}' + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -43,21 +45,27 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' - MSBUILD : error MSB1058: Only one output results cache can be specified. Full command line: '{0}' + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1058: "} - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' - MSBUILD : error MSB1008: Only one project can be specified. Full command line: '{0}' + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. + Full command line: {0} {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. Full command line: '{0}' + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1143,8 +1151,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' - MSBUILD : error MSB1007: Specify a logger. Full command line: '{0}' + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. + Full command line: {0} {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -1152,8 +1162,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' - MSBUILD : error MSB1031: Specify the maximum number of CPUs. Full command line: '{0}' + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. + Full command line: {0} {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1169,8 +1181,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' - MSBUILD : error MSB1005: Specify a property and its value. Full command line: '{0}' + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. + Full command line: {0} {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -1178,8 +1192,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' - MSBUILD : error MSB1012: Specify a response file. Full command line: '{0}' + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. + Full command line: {0} {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -1187,8 +1203,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' - MSBUILD : error MSB1004: Specify the name of the target. Full command line: '{0}' + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. + Full command line: {0} {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1196,8 +1214,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' - MSBUILD : error MSB1039: Specify the version of the toolset. Full command line: '{0}' + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. + Full command line: {0} {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1206,8 +1226,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' - MSBUILD : error MSB1016: Specify the verbosity level. Full command line: '{0}' + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. + Full command line: {0} {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1263,16 +1285,18 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: '{1}' + Full command line: {1} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. Full command line: '{0}' + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. + Full command line: {0} {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1281,8 +1305,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' - MSBUILD : error MSB1022: Response file does not exist. Full command line: '{0}' + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. + Full command line: {0} {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1320,15 +1346,19 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1059: "} - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' - MSBUILD : error MSB1002: This switch does not take any parameters. Full command line: '{0}' + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. + Full command line: {0} {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' - MSBUILD : error MSB1001: Unknown switch. Full command line: '{0}' + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1343,8 +1373,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' - MSBUILD : error MSB1035: Specify the project extensions to ignore. Full command line: '{0}' + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. + Full command line: {0} {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1357,8 +1389,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1366,8 +1400,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. Full command line: '{0}' + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1375,8 +1411,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. Full command line: '{0}' + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1516,8 +1554,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 {StrBegin="MSBUILD : error MSB1049: "} - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. Full command line: '{0}' + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. + Full command line: {0} {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1714,8 +1754,10 @@ Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。 - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. Full command line: '{0}' + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. + Full command line: {0} diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 52289913ead..dbb74318dc9 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -1646,9 +1646,9 @@ private static void GatherAllSwitches( commandLineArgs.RemoveAt(0); #if FEATURE_GET_COMMANDLINE - string fullCommandLine = commandLine; + string fullCommandLine = $"'{commandLine}'"; #else - string fullCommandLine = string.Join(' ', commandLine); + string fullCommandLine = $"'{string.Join(' ', commandLine)}'"; #endif // parse the command line, and flag syntax errors and obvious switch errors @@ -1909,7 +1909,7 @@ private static void GatherResponseFileSwitch(string unquotedCommandLineArg, Comm } } - commandLine += $"' '{responseFile}': '{string.Join(" ", argsFromResponseFile)}"; + commandLine += $"\n{responseFile}: {string.Join(" ", argsFromResponseFile)}"; GatherCommandLineSwitches(argsFromResponseFile, commandLineSwitches, ref commandLine); } From af1f39c598e14be3f1224b54586fccde1558ae00 Mon Sep 17 00:00:00 2001 From: Forgind Date: Fri, 14 Jan 2022 15:28:07 -0800 Subject: [PATCH 15/25] Make it easier on the loc team --- .../CommandLineSwitches_Tests.cs | 34 ++-- src/MSBuild.UnitTests/XMake_Tests.cs | 10 +- src/MSBuild/CommandLineSwitches.cs | 11 +- src/MSBuild/Resources/Strings.resx | 77 ++++----- src/MSBuild/Resources/xlf/Strings.cs.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.de.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.es.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.fr.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.it.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.ja.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.ko.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.pl.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.ru.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.tr.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 148 +++++++----------- src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 148 +++++++----------- src/MSBuild/XMake.cs | 26 +-- 18 files changed, 858 insertions(+), 1224 deletions(-) diff --git a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs index 066289772f3..c83c9893b3d 100644 --- a/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs +++ b/src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs @@ -461,7 +461,7 @@ public void TargetsSwitchParameter() { CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets:targets.txt" }, switches, command); switches.HaveErrors().ShouldBeFalse(); switches[CommandLineSwitches.ParameterizedSwitch.Targets].ShouldBe(new[] { "targets.txt" }); @@ -472,7 +472,7 @@ public void TargetsSwitchDoesNotSupportMultipleOccurrences() { CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List() { "/targets /targets" }, switches, command); switches.HaveErrors().ShouldBeTrue(); } @@ -551,7 +551,7 @@ public void GraphBuildSwitchCanHaveParameters() CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List { "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List { "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo"}, switches, command); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(new[] {"true", " NoBuild ", " ", "foo"}); @@ -564,7 +564,7 @@ public void GraphBuildSwitchCanBeParameterless() CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List { "/graph" }, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List { "/graph" }, switches, command); switches[CommandLineSwitches.ParameterizedSwitch.GraphBuild].ShouldBe(Array.Empty()); @@ -577,7 +577,7 @@ public void InputResultsCachesSupportsMultipleOccurrence() CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(){"/irc", "/irc:a;b", "/irc:c;d"}, switches, command); switches[CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].ShouldBe(new []{null, "a", "b", "c", "d"}); @@ -590,7 +590,7 @@ public void OutputResultsCache() CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a"}, switches, command); switches[CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].ShouldBe(new []{"a"}); @@ -603,7 +603,7 @@ public void OutputResultsCachesDoesNotSupportMultipleOccurrences() CommandLineSwitches switches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(){"/orc:a", "/orc:b"}, switches, command); switches.HaveErrors().ShouldBeTrue(); } @@ -1084,7 +1084,7 @@ public void ProcessWarnAsErrorSwitchNotSpecified() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "" }), commandLineSwitches, command); Assert.Null(MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches)); } @@ -1108,7 +1108,7 @@ public void ProcessWarnAsErrorSwitchWithCodes() "/err:D,d;E,e", // A different source with new items and uses the short form "/warnaserror:a", // A different source with a single duplicate "/warnaserror:a,b", // A different source with multiple duplicates - }), commandLineSwitches, ref command); + }), commandLineSwitches, command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1130,7 +1130,7 @@ public void ProcessWarnAsErrorSwitchEmptySwitchClearsSet() { "/warnaserror:a;b;c", "/warnaserror", - }), commandLineSwitches, ref command); + }), commandLineSwitches, command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1155,7 +1155,7 @@ public void ProcessWarnAsErrorSwitchValuesAfterEmptyAddOn() "/warnaserror:a;b;c", "/warnaserror", "/warnaserror:e;f;g", - }), commandLineSwitches, ref command); + }), commandLineSwitches, command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1173,7 +1173,7 @@ public void ProcessWarnAsErrorSwitchEmpty() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(new [] { "/warnaserror" }), commandLineSwitches, command); ISet actualWarningsAsErrors = MSBuildApp.ProcessWarnAsErrorSwitch(commandLineSwitches); @@ -1191,7 +1191,7 @@ public void ProcessWarnAsMessageSwitchEmpty() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); string command = "{0}"; // This is a hack so the error message contains the exact resource string. - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/warnasmessage" }), commandLineSwitches, command); VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.GetString("MissingWarnAsMessageParameterError")); } @@ -1209,12 +1209,12 @@ public void ProcessEnvironmentVariableSwitch() CommandLineSwitches commandLineSwitches = new(); string fullCommandLine = "msbuild validProject.csproj %ENVIRONMENTVARIABLE%"; - MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, ref fullCommandLine); + MSBuildApp.GatherCommandLineSwitches(new List() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, fullCommandLine); VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); commandLineSwitches = new(); fullCommandLine = "msbuild %ENVIRONMENTVARIABLE% validProject.csproj"; - MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, ref fullCommandLine); + MSBuildApp.GatherCommandLineSwitches(new List() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, fullCommandLine); VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.GetString("EnvironmentVariableAsSwitch"), fullCommandLine)); } } @@ -1238,7 +1238,7 @@ public void ProcessWarnAsMessageSwitchWithCodes() "/nowarn:D,d;E,e", // A different source with new items and uses the short form "/warnasmessage:a", // A different source with a single duplicate "/warnasmessage:a,b", // A different source with multiple duplicates - }), commandLineSwitches, ref command); + }), commandLineSwitches, command); ISet actualWarningsAsMessages = MSBuildApp.ProcessWarnAsMessageSwitch(commandLineSwitches); @@ -1256,7 +1256,7 @@ public void ProcessProfileEvaluationEmpty() CommandLineSwitches commandLineSwitches = new CommandLineSwitches(); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches, ref command); + MSBuildApp.GatherCommandLineSwitches(new List(new[] { "/profileevaluation" }), commandLineSwitches, command); commandLineSwitches[CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation][0].ShouldBe("no-file"); } diff --git a/src/MSBuild.UnitTests/XMake_Tests.cs b/src/MSBuild.UnitTests/XMake_Tests.cs index 1c3363690f5..0190c5ff9b7 100644 --- a/src/MSBuild.UnitTests/XMake_Tests.cs +++ b/src/MSBuild.UnitTests/XMake_Tests.cs @@ -53,7 +53,7 @@ public void GatherCommandLineSwitchesTwoProperties() arguments.AddRange(new[] { "/p:a=b", "/p:c=d" }); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -71,7 +71,7 @@ public void GatherCommandLineSwitchesAnyDash() }; string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.Property]; parameters[0].ShouldBe("a=b"); @@ -87,7 +87,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithArgument() arguments.AddRange(new[] { "/m:2" }); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[0].ShouldBe("2"); @@ -105,7 +105,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgument() arguments.AddRange(new[] { "/m:3", "/m" }); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters[1].ShouldBe(Convert.ToString(NativeMethodsShared.GetLogicalCoreCount())); @@ -126,7 +126,7 @@ public void GatherCommandLineSwitchesMaxCpuCountWithoutArgumentButWithColon() arguments.AddRange(new[] { "/m:" }); string command = string.Empty; - MSBuildApp.GatherCommandLineSwitches(arguments, switches, ref command); + MSBuildApp.GatherCommandLineSwitches(arguments, switches, command); string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]; parameters.Length.ShouldBe(0); diff --git a/src/MSBuild/CommandLineSwitches.cs b/src/MSBuild/CommandLineSwitches.cs index 34f9cc3ddd8..d7298c201f8 100644 --- a/src/MSBuild/CommandLineSwitches.cs +++ b/src/MSBuild/CommandLineSwitches.cs @@ -5,6 +5,8 @@ using System.Collections; using System.Collections.Generic; using System.Diagnostics; +using System.Text; +using Microsoft.Build.Framework; using Microsoft.Build.Shared; #nullable disable @@ -400,6 +402,8 @@ private struct DetectedParameterizedSwitch private DetectedParameterizedSwitch[] _parameterizedSwitches; // NOTE: the above arrays are instance members because this class is not required to be a singleton + internal static Dictionary SwitchesFromResponseFiles = new(); + /// /// Default constructor. /// @@ -808,7 +812,12 @@ internal void ThrowErrors() } else { - CommandLineSwitchException.Throw(_errorMessage, _badCommandLineArg, _commandLine); + StringBuilder sb = StringBuilderCache.Acquire(); + foreach (KeyValuePair kvp in SwitchesFromResponseFiles) + { + sb.Append($"\n{ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ResponseFileSwitchFromLocation", kvp.Value, kvp.Key)}"); + } + CommandLineSwitchException.Throw("SwitchErrorWithArguments", _badCommandLineArg, ResourceUtilities.GetResourceString(_errorMessage), _commandLine, sb.ToString()); } } } diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 2db5f3ac4c0..0551b3b2965 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -83,8 +83,7 @@ - MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. - Full command line: {0} + MSBUILD : error MSB1027: The -noAutoResponse switch cannot be specified in the MSBuild.rsp auto-response file, nor in any response file that is referenced by the auto-response file. {StrBegin="MSBUILD : error MSB1027: "}LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:", "-noAutoResponse" and "MSBuild.rsp" should not be localized. @@ -94,8 +93,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: {0} contains the DLL version number. {1} contains the name of a runtime, like ".NET Framework", ".NET Core", or "Mono" - MSBUILD : error MSB1008: Only one project can be specified. - Full command line: {0} + MSBUILD : error MSB1008: Only one project can be specified. {StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed. MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project that itself launches MSBuild on a number of other projects. @@ -948,8 +946,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1007: Specify a logger. - Full command line: {0} + MSBUILD : error MSB1007: Specify a logger. {StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral". @@ -957,8 +954,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1031: Specify the maximum number of CPUs. - Full command line: {0} + MSBUILD : error MSB1031: Specify the maximum number of CPUs. {StrBegin="MSBUILD : error MSB1031: "}UE: This happens if the user does something like "msbuild.exe -m". The user must pass in an actual number like -m:4. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -973,8 +969,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1005: Specify a property and its value. - Full command line: {0} + MSBUILD : error MSB1005: Specify a property and its value. {StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug". @@ -982,8 +977,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1012: Specify a response file. - Full command line: {0} + MSBUILD : error MSB1012: Specify a response file. {StrBegin="MSBUILD : error MSB1012: "}UE: This error would occur if the user did something like "msbuild.exe @ foo.proj". The at-sign must be followed by a response file. @@ -991,8 +985,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1004: Specify the name of the target. - Full command line: {0} + MSBUILD : error MSB1004: Specify the name of the target. {StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name following the switch, as in "msbuild.exe -target:blah". @@ -1000,8 +993,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1039: Specify the version of the toolset. - Full command line: {0} + MSBUILD : error MSB1039: Specify the version of the toolset. {StrBegin="MSBUILD : error MSB1039: "} UE: This happens if the user does something like "msbuild.exe -toolsVersion". The user must pass in an actual toolsversion @@ -1010,8 +1002,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1016: Specify the verbosity level. - Full command line: {0} + MSBUILD : error MSB1016: Specify the verbosity level. {StrBegin="MSBUILD : error MSB1016: "}UE: This happens if the user does something like "msbuild.exe -verbosity". The user must pass in a verbosity level after the switch e.g. "msbuild.exe -verbosity:detailed". @@ -1046,15 +1037,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : MSB1045: "} - MSBUILD : error MSB1023: Cannot read the response file. {0} - Full command line: {1} + MSBUILD : error MSB1023: Cannot read the response file. {0} {StrBegin="MSBUILD : error MSB1023: "}UE: This error is shown when the response file cannot be read off disk. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. {0} contains a localized message explaining why the response file could not be read -- this message comes from the CLR/FX. - MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. - Full command line: {0} + MSBUILD : error MSB1013: The response file was specified twice. A response file can be specified only once. Any files named "msbuild.rsp" in the directory of MSBuild.exe or in the directory of the first project or solution built (which if no project or solution is specified is the current working directory) were automatically used as response files. {StrBegin="MSBUILD : error MSB1013: "}UE: Response files are just text files that contain a bunch of command-line switches to be passed to MSBuild.exe. The purpose is so you don't have to type the same switches over and over again ... you can just pass in the response file instead. Response files can include the @ switch in order to further include other response files. In order to prevent a circular @@ -1063,8 +1052,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1022: Response file does not exist. - Full command line: {0} + MSBUILD : error MSB1022: Response file does not exist. {StrBegin="MSBUILD : error MSB1022: "}UE: This message would show if the user did something like "msbuild @bogus.rsp" where bogus.rsp doesn't exist. This message does not need in-line parameters because the exception takes care of displaying the invalid arg. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1093,15 +1081,13 @@ Copyright (C) Microsoft Corporation. All rights reserved. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1002: This switch does not take any parameters. - Full command line: {0} + MSBUILD : error MSB1002: This switch does not take any parameters. {StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch should not be followed by any parameters ... it stands alone. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1001: Unknown switch. - Full command line: {0} + MSBUILD : error MSB1001: Unknown switch. {StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line. LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1113,8 +1099,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. Forcing load of Microsoft.Build.Engine because MSBUILDOLDOM=1... - MSBUILD : error MSB1035: Specify the project extensions to ignore. - Full command line: {0} + MSBUILD : error MSB1035: Specify the project extensions to ignore. {StrBegin="MSBUILD : error MSB1035: "} UE: This happens if the user does something like "msbuild.exe -ignoreProjectExtensions". The user must pass in one or more project extensions to ignore e.g. "msbuild.exe -ignoreProjectExtensions:.sln". @@ -1126,8 +1111,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. {StrBegin="MSBUILD : error MSB1036: "}LOCALIZATION: The error prefix "MSBUILD : error MSBxxxx:" should not be localized. - MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. - Full command line: {0} + MSBUILD : error MSB1037: Specify one or more parameters for the console logger if using the -consoleLoggerParameters switch. {StrBegin="MSBUILD : error MSB1037: "} UE: This happens if the user does something like "msbuild.exe -consoleLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -consoleLoggerParameters:ErrorSummary". @@ -1135,8 +1119,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. - Full command line: {0} + MSBUILD : error MSB1038: Specify one or more parameters for the file logger if using the -fileLoggerParameters switch. {StrBegin="MSBUILD : error MSB1038: "} UE: This happens if the user does something like "msbuild.exe -fileLoggerParameters:". The user must pass in one or more parameters after the switch e.g. "msbuild.exe -fileLoggerParameters:logfile=c:\temp\logfile". @@ -1144,8 +1127,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. - Full command line: {0} + MSBUILD : error MSB1041: Specify one or more parameters for node reuse if using the -nodeReuse switch. {StrBegin="MSBUILD : error MSB1041: "} UE: This happens if the user does something like "msbuild.exe -nodeReuse:" without a true or false LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized. @@ -1269,8 +1251,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. A file location to be embedded in a string. - MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. - Full command line: {0} + MSBUILD : error MSB1051: Specify one or more warning codes to treat as low importance messages when using the -warnAsMessage switch. {StrBegin="MSBUILD : error MSB1051: "} UE: This happens if the user does something like "msbuild.exe -warnAsMessage:" without any codes. @@ -1281,12 +1262,10 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1053: Provided filename is not valid. {0} - MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - Full command line: {0} + MSBUILD :error MSB1054: A filename must be specified to generate the profiler result. - MSBUILD : error MSB1058: Only one output results cache can be specified. - Full command line: {0} + MSBUILD : error MSB1058: Only one output results cache can be specified. {StrBegin="MSBUILD : error MSB1058: "} @@ -1298,8 +1277,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. - MSBUILD : error MSB1060: Undefined environment variable passed in as switch. - Full command line: {0} + MSBUILD : error MSB1060: Undefined environment variable passed in as switch. {StrBegin="MSBUILD : error MSB1060: "} UE: This error is shown when a user passes in an environment variable (including from a response file) @@ -1320,6 +1298,17 @@ Copyright (C) Microsoft Corporation. All rights reserved. MSBuild version = "{0}" + + + {0} + Full command line: '{1}' + Switches appended by response files:{2} + + + '{0}' came from '{1}' + + These are response file switches with the location of the response file on disk. +