From e5a1f87dfaa563d668aa7ad08648c59cc7781b3d Mon Sep 17 00:00:00 2001 From: Mariana Dematte Date: Wed, 11 Sep 2024 09:12:54 -0700 Subject: [PATCH] Help message for -check (#10622) Fixes ##10555 Context Adds a help message for BuildCheck --- src/MSBuild/CommandLineSwitches.cs | 2 +- src/MSBuild/Resources/Strings.resx | 10 ++++++++++ src/MSBuild/Resources/xlf/Strings.cs.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.de.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.es.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.fr.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.it.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.ja.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.ko.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.pl.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.pt-BR.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.ru.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.tr.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf | 15 +++++++++++++++ src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf | 15 +++++++++++++++ 15 files changed, 206 insertions(+), 1 deletion(-) diff --git a/src/MSBuild/CommandLineSwitches.cs b/src/MSBuild/CommandLineSwitches.cs index ae5646ca7d1..28c4fbd93b9 100644 --- a/src/MSBuild/CommandLineSwitches.cs +++ b/src/MSBuild/CommandLineSwitches.cs @@ -277,7 +277,7 @@ internal ParameterizedSwitchInfo( new ParameterizedSwitchInfo( new string[] { "warnnotaserror", "noerr" }, ParameterizedSwitch.WarningsNotAsErrors, null, true, "MissingWarnNotAsErrorParameterError", true, false, "HelpMessage_40_WarnNotAsErrorSwitch"), new ParameterizedSwitchInfo( new string[] { "warnasmessage", "nowarn" }, ParameterizedSwitch.WarningsAsMessages, null, true, "MissingWarnAsMessageParameterError", true, false, "HelpMessage_29_WarnAsMessageSwitch"), new ParameterizedSwitchInfo( new string[] { "binarylogger", "bl" }, ParameterizedSwitch.BinaryLogger, null, false, null, true, false, "HelpMessage_30_BinaryLoggerSwitch"), - new ParameterizedSwitchInfo( new string[] { "check", }, ParameterizedSwitch.Check, null, false, null, true, false, null), + new ParameterizedSwitchInfo( new string[] { "check", }, ParameterizedSwitch.Check, null, false, null, true, false, "HelpMessage_52_BuildCheckSwitch"), new ParameterizedSwitchInfo( new string[] { "restore", "r" }, ParameterizedSwitch.Restore, null, false, null, true, false, "HelpMessage_31_RestoreSwitch"), new ParameterizedSwitchInfo( new string[] { "profileevaluation", "prof" }, ParameterizedSwitch.ProfileEvaluation, null, false, "MissingProfileParameterError", true, false, "HelpMessage_32_ProfilerSwitch"), new ParameterizedSwitchInfo( new string[] { "restoreproperty", "rp" }, ParameterizedSwitch.RestoreProperty, null, true, "MissingPropertyError", true, false, "HelpMessage_33_RestorePropertySwitch"), diff --git a/src/MSBuild/Resources/Strings.resx b/src/MSBuild/Resources/Strings.resx index 68f434f2df4..5e81b47cefd 100644 --- a/src/MSBuild/Resources/Strings.resx +++ b/src/MSBuild/Resources/Strings.resx @@ -1016,6 +1016,16 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + -terminalLoggerParameters: <parameters> Parameters to terminal logger. (Short form: -tlp) diff --git a/src/MSBuild/Resources/xlf/Strings.cs.xlf b/src/MSBuild/Resources/xlf/Strings.cs.xlf index a1a362007b1..f1a7c9a7ab5 100644 --- a/src/MSBuild/Resources/xlf/Strings.cs.xlf +++ b/src/MSBuild/Resources/xlf/Strings.cs.xlf @@ -313,6 +313,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: Hodnota s nízkou prioritou není platná. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.de.xlf b/src/MSBuild/Resources/xlf/Strings.de.xlf index 150c2d4fe31..38168888b4f 100644 --- a/src/MSBuild/Resources/xlf/Strings.de.xlf +++ b/src/MSBuild/Resources/xlf/Strings.de.xlf @@ -313,6 +313,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: Der Wert mit niedriger Priorität ist ungültig. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.es.xlf b/src/MSBuild/Resources/xlf/Strings.es.xlf index 87794bb246f..f38c133fc8e 100644 --- a/src/MSBuild/Resources/xlf/Strings.es.xlf +++ b/src/MSBuild/Resources/xlf/Strings.es.xlf @@ -312,6 +312,21 @@ Esta marca es experimental y puede que no funcione según lo previsto. LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: El valor de prioridad baja no es válido. {0}. diff --git a/src/MSBuild/Resources/xlf/Strings.fr.xlf b/src/MSBuild/Resources/xlf/Strings.fr.xlf index fd15e768ec6..e234bbc412b 100644 --- a/src/MSBuild/Resources/xlf/Strings.fr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.fr.xlf @@ -313,6 +313,21 @@ futures LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: la valeur basse priorité n’est pas valide. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.it.xlf b/src/MSBuild/Resources/xlf/Strings.it.xlf index 762e37812db..531137171e4 100644 --- a/src/MSBuild/Resources/xlf/Strings.it.xlf +++ b/src/MSBuild/Resources/xlf/Strings.it.xlf @@ -313,6 +313,21 @@ Questo flag è sperimentale e potrebbe non funzionare come previsto. LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: il valore di priorità bassa non è valido. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ja.xlf b/src/MSBuild/Resources/xlf/Strings.ja.xlf index d87ef829cb9..ab6b6ef5b25 100644 --- a/src/MSBuild/Resources/xlf/Strings.ja.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ja.xlf @@ -313,6 +313,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: 低優先度値が無効です。 {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ko.xlf b/src/MSBuild/Resources/xlf/Strings.ko.xlf index fe32de29006..dafc9b463f1 100644 --- a/src/MSBuild/Resources/xlf/Strings.ko.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ko.xlf @@ -313,6 +313,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: 낮은 우선 순위 값이 유효하지 않습니다. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.pl.xlf b/src/MSBuild/Resources/xlf/Strings.pl.xlf index 7995f33e8d7..66077dfe445 100644 --- a/src/MSBuild/Resources/xlf/Strings.pl.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pl.xlf @@ -312,6 +312,21 @@ Ta flaga jest eksperymentalna i może nie działać zgodnie z oczekiwaniami. LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: wartość niskiego priorytetu jest nieprawidłowa. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf index 14e1e663330..be26f0ad12c 100644 --- a/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf +++ b/src/MSBuild/Resources/xlf/Strings.pt-BR.xlf @@ -312,6 +312,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: o valor de baixa prioridade não é válido. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.ru.xlf b/src/MSBuild/Resources/xlf/Strings.ru.xlf index a04667d9fe7..9e333e9c395 100644 --- a/src/MSBuild/Resources/xlf/Strings.ru.xlf +++ b/src/MSBuild/Resources/xlf/Strings.ru.xlf @@ -312,6 +312,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: недопустимое значение низкого приоритета. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.tr.xlf b/src/MSBuild/Resources/xlf/Strings.tr.xlf index 8bb488db317..4fd1e7e64af 100644 --- a/src/MSBuild/Resources/xlf/Strings.tr.xlf +++ b/src/MSBuild/Resources/xlf/Strings.tr.xlf @@ -312,6 +312,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: Düşük öncelikli değer geçerli değil. {0} diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf index 0e5640dbba3..a5cbfe8d6fc 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hans.xlf @@ -312,6 +312,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: 低优先级值无效。{0} diff --git a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf index c1e88218de3..561daa7ceca 100644 --- a/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/MSBuild/Resources/xlf/Strings.zh-Hant.xlf @@ -313,6 +313,21 @@ LOCALIZATION: None of the lines should be longer than a standard width console window, eg 80 chars. + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + -check + Enables BuildChecks during the build. + BuildCheck enables evaluating rules to ensure properties + of the build. For more info see aka.ms/buildcheck + + + {Locked="-check"}{Locked="BuildChecks"}{Locked="BuildCheck"}{MaxLength=80} + + MSBUILD : error MSB1064: Low priority value is not valid. {0} MSBUILD : error MSB1064: 低優先順序值無效。{0}