Skip to content

Remove "please" from error messages - #7483

Merged
nkolev92 merged 7 commits into
devfrom
copilot/remove-please-from-error-messages
Jun 19, 2026
Merged

nkolev92 merged 7 commits into
devfrom
copilot/remove-please-from-error-messages

Conversation

Copilot AI commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes: NuGet/Home#8141

Per Microsoft error message guidelines, "please" implies required actions are optional. Removes ~80 instances from user-facing error messages across the codebase.

Changes

  • 18 .resx files: Removed "please" from <value> elements, rewording to direct imperatives
  • 18 .Designer.cs files: Updated auto-generated string literals to match
  • 234 .xlf files: Updated source strings across all 13 localized languages
  • 11 test files: Updated hardcoded string assertions to match new messages

Kept "please" where tooling is at fault

Messages like "Please file an issue at https://github.com/NuGet/Home" and "Please contact the package owners" are retained — these are apologies for NuGet/package bugs, not user directives.

Excluded from this PR

Copilot-specific error messages in NuGet.Tools/Resources.resx (Error_CopilotNotReady, Error_ServiceBrokerNotAvailable, Error_CopilotServiceNotAvailable, Error_McpToolServiceNotAvailable, Error_CopilotAccessDenied, Error_NuGetSolverNotAvailable) are intentionally left unchanged to avoid overlap with another PR.

Incidental fixes

  • Fixed typo "enbale" → "Enable" in long path support message
  • Fixed "write format" → "correct format" in assets file error
  • Added missing article: "See the Error List window"

Before/After

- "Please specify a nuspec or project file to use."
+ "Specify a nuspec or project file to use."

- "Please save your solution before managing NuGet packages."
+ "Save your solution before managing NuGet packages."

- "Please provide an HTTP or local source."
+ "Provide an HTTP or local source."

Copilot AI linked an issue Jun 16, 2026 that may be closed by this pull request
…iles, and tests

Removed 'please' from user-facing error messages across 18 .resx files,
their corresponding .Designer.cs and .xlf localization files, and
updated 11 test files that reference these strings.

Kept 'please' in messages where NuGet tooling is at fault (e.g.,
'Please file an issue at https://github.com/NuGet/Home') as these
are appropriate apologies for internal errors.

Fixes NuGet/Home#8141
Copilot AI changed the title [WIP] Remove 'please' from error messages Remove "please" from error messages Jun 16, 2026
Copilot AI requested a review from nkolev92 June 16, 2026 23:35
Reverts changes to Error_CopilotNotReady, Error_ServiceBrokerNotAvailable,
Error_CopilotServiceNotAvailable, Error_McpToolServiceNotAvailable,
Error_CopilotAccessDenied, and Error_NuGetSolverNotAvailable to avoid
overlap with another PR.

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot https://dev.azure.com/dnceng-public/public/_build/results?buildId=1467356&view=ms.vss-test-web.build-test-results-tab&runId=40555584&resultId=100486&paneView=debug has test failures. Fix them...

Fixed in the latest commit. Found 4 additional test files with assertions still referencing the old "please" wording:

  • InstallationCompatibilityTests.cs — "To upgrade NuGet, please go to"
  • NuGetSignCommandTest.cs — "please visit" (3 constants)
  • NuGetMSSignCommandTest.cs — "please visit" (2 constants)
  • NuGetReposignCommandTest.cs — "please visit" (2 constants)

@nkolev92
nkolev92 marked this pull request as ready for review June 17, 2026 00:57
@nkolev92
nkolev92 requested a review from a team as a code owner June 17, 2026 00:57
@nkolev92
nkolev92 requested a review from Nigusu-Allehu June 17, 2026 00:57
@nkolev92
nkolev92 marked this pull request as draft June 17, 2026 00:58
@nkolev92

Copy link
Copy Markdown
Member

I wanted to wait for the tests to pass before marking as ready for review.

@nkolev92
nkolev92 marked this pull request as ready for review June 17, 2026 16:44
@Nigusu-Allehu
Nigusu-Allehu requested a review from Copilot June 19, 2026 14:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates user-facing error/warning messages across NuGet Client to align with Microsoft error message guidelines by removing “please” from directive-style sentences, and updates tests/localization artifacts to match.

Changes:

  • Reworded many English strings in .resx resources (and regenerated corresponding .Designer.cs values) to remove “please”.
  • Updated .xlf localization files so source strings match the new English text.
  • Updated unit/functional/integration tests that assert on the affected messages.

Reviewed changes

Copilot reviewed 267 out of 285 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/NuGet.Tests.Apex/NuGet.Tests.Apex/NuGetEndToEndTests/NuGetConsoleTestCase.cs Updates expected PMC error text for invalid source formats.
test/NuGet.Core.Tests/NuGet.Packaging.Test/PackageBuilderTest.cs Updates schema incompatibility exception message assertion.
test/NuGet.Core.Tests/NuGet.PackageManagement.Test/InstallationCompatibilityTests.cs Updates min-client-version upgrade guidance assertion.
test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/XPlatWhyTests.cs Updates dotnet nuget why output/error assertions.
test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/XPlatLocalsTests.cs Updates locals command help/error message expectations.
test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/XplatListPackageJsonRendererTests.cs Updates JSON renderer problem text and output assertions.
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/DotnetSignTests.cs Updates signing error constant expected by tests.
test/NuGet.Clients.Tests/NuGet.MSSigning.Extensions.Test/NuGetReposignCommandTest.cs Updates CLI help/error constants for reposign tests.
test/NuGet.Clients.Tests/NuGet.MSSigning.Extensions.Test/NuGetMSSignCommandTest.cs Updates CLI help/error constants for mssign tests.
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/NuGetSignCommandTest.cs Updates sign command help/error constants asserted by tests.
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/NuGetPushCommandTest.cs Updates credential prompt output assertion.
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/NuGetListCommandTest.cs Updates invalid source error assertion.
test/NuGet.Clients.FuncTests/NuGet.MSSigning.Extensions.FuncTest/Commands/ReposignCommandTests.cs Updates expected reposign error output.
test/NuGet.Clients.FuncTests/NuGet.MSSigning.Extensions.FuncTest/Commands/MSSignCommandTests.cs Updates expected mssign error output.
test/NuGet.Clients.FuncTests/NuGet.CommandLine.FuncTest/Commands/SignCommandTests.cs Updates expected sign error output constant.
src/NuGet.Core/NuGet.Packaging/Strings.resx Removes “please” and adjusts packaging resource strings.
src/NuGet.Core/NuGet.Packaging/Strings.Designer.cs Updates generated string doc comments to match .resx.
src/NuGet.Core/NuGet.Packaging/Rules/AnalysisResources.resx Removes “please” from packaging analyzer rule texts.
src/NuGet.Core/NuGet.Packaging/Rules/AnalysisResources.Designer.cs Updates generated doc comments to match analyzer rule .resx.
src/NuGet.Core/NuGet.Packaging/Rules/xlf/AnalysisResources.zh-Hans.xlf Updates localized XLF source strings for analyzer rules.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/NuGetResources.resx Removes “please” from package creation resources.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/NuGetResources.Designer.cs Updates generated doc comments to match package creation .resx.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.cs.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.de.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.es.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.fr.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.it.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.ja.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.ko.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.pl.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.pt-BR.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.ru.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.tr.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.zh-Hans.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/xlf/NuGetResources.zh-Hant.xlf Updates localized XLF source strings for package creation.
src/NuGet.Core/NuGet.PackageManagement/Strings.resx Removes “please” from package management resource strings.
src/NuGet.Core/NuGet.PackageManagement/Strings.Designer.cs Updates generated doc comments to match package management .resx.
src/NuGet.Core/NuGet.PackageManagement/xlf/Strings.zh-Hans.xlf Updates localized XLF source strings for package management.
src/NuGet.Core/NuGet.Credentials/Resources.resx Removes “please” from credentials resource strings.
src/NuGet.Core/NuGet.Credentials/Resources.Designer.cs Updates generated doc comments to match credentials .resx.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.cs.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.de.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.es.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.fr.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.it.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.ja.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.ko.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.pl.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.pt-BR.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.ru.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.tr.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.zh-Hans.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Credentials/xlf/Resources.zh-Hant.xlf Updates localized XLF source strings for credentials.
src/NuGet.Core/NuGet.Configuration/Resources.resx Removes “please” from configuration resource strings.
src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs Updates generated doc comments to match configuration .resx.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.cs.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.de.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.es.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.fr.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.it.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.ja.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.ko.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.pl.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.pt-BR.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.ru.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.tr.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.zh-Hans.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Configuration/xlf/Resources.zh-Hant.xlf Updates localized XLF source strings for configuration.
src/NuGet.Core/NuGet.Commands/Strings.resx Removes “please” from commands resource strings.
src/NuGet.Core/NuGet.Commands/Strings.Designer.cs Updates generated doc comments to match commands .resx.
src/NuGet.Core/NuGet.Commands/xlf/Strings.cs.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.de.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.es.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.fr.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.it.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.ja.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.ko.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.pt-BR.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.ru.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.tr.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.zh-Hans.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Commands/xlf/Strings.zh-Hant.xlf Updates localized XLF source strings for commands.
src/NuGet.Core/NuGet.Build.Tasks/Strings.resx Removes “please” from build tasks resource strings.
src/NuGet.Core/NuGet.Build.Tasks/Strings.Designer.cs Updates generated doc comments to match build tasks .resx.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.cs.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.de.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.es.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.fr.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.it.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.ja.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.ko.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.pl.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.pt-BR.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.ru.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.tr.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.zh-Hans.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Core/NuGet.Build.Tasks/xlf/Strings.zh-Hant.xlf Updates localized XLF source strings for build tasks.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/VsResources.resx Removes “please” from VS implementation resource strings.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/VsResources.Designer.cs Updates generated doc comments to match VS implementation .resx.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.cs.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.de.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.es.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.fr.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.it.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.ja.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.ko.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.pl.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.pt-BR.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.ru.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.tr.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.zh-Hans.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/xlf/VsResources.zh-Hant.xlf Updates localized XLF source strings for VS implementation.
src/NuGet.Clients/NuGet.Tools/Resources.resx Removes “please” from NuGet.Tools resource strings.
src/NuGet.Clients/NuGet.Tools/Resources.Designer.cs Updates generated doc comments to match NuGet.Tools .resx.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.cs.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.de.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.es.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.fr.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.it.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.ja.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.ko.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.pl.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.pt-BR.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.ru.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.tr.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.zh-Hans.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.Tools/xlf/Resources.zh-Hant.xlf Updates localized XLF source strings for NuGet.Tools.
src/NuGet.Clients/NuGet.SolutionRestoreManager/Resources.resx Removes “please” from restore manager resource strings.
src/NuGet.Clients/NuGet.SolutionRestoreManager/Resources.Designer.cs Updates generated doc comments to match restore manager .resx.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.cs.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.de.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.es.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.fr.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.it.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.ja.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.ko.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.pl.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.pt-BR.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.ru.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.tr.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.zh-Hans.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.SolutionRestoreManager/xlf/Resources.zh-Hant.xlf Updates localized XLF source strings for restore manager.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/Strings.resx Removes “please” from PM VS resource strings.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/Strings.Designer.cs Updates generated doc comments to match PM VS .resx.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.cs.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.de.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.es.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.fr.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.it.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.ja.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.ko.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.pl.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.pt-BR.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.ru.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.tr.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.zh-Hans.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/xlf/Strings.zh-Hant.xlf Updates localized XLF source strings for PM VS.
src/NuGet.Clients/NuGet.PackageManagement.UI/Resources.resx Removes “please” from PM UI resource strings.
src/NuGet.Clients/NuGet.PackageManagement.UI/Resources.Designer.cs Updates generated doc comments to match PM UI .resx.
src/NuGet.Clients/NuGet.PackageManagement.UI/xlf/Resources.zh-Hans.xlf Updates localized XLF source strings for PM UI (zh-Hans excerpt).
src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Resources.resx Removes “please” from PowerShell cmdlets resource strings.
src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Resources.Designer.cs Updates generated doc comments to match PowerShell cmdlets .resx.
src/NuGet.Clients/NuGet.MSSigning.Extensions/NuGetMSSignCommand.resx Removes “please” from MSSigning command resource strings.
src/NuGet.Clients/NuGet.MSSigning.Extensions/NuGetMSSignCommand.Designer.cs Updates generated doc comments to match MSSigning .resx.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.cs.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.de.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.es.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.fr.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.it.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.ja.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.ko.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.pl.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.pt-BR.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.ru.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.tr.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.zh-Hans.xlf Updates localized XLF source strings for MSSigning command.
src/NuGet.Clients/NuGet.MSSigning.Extensions/xlf/NuGetMSSignCommand.zh-Hant.xlf Updates localized XLF source strings for MSSigning command.
Files not reviewed (18)
  • src/NuGet.Clients/NuGet.CommandLine/NuGetCommand.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.CommandLine/NuGetResources.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.MSSigning.Extensions/NuGetMSSignCommand.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Resources.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.PackageManagement.UI/Resources.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/Strings.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.SolutionRestoreManager/Resources.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.Tools/Resources.Designer.cs: Generated file
  • src/NuGet.Clients/NuGet.VisualStudio.Implementation/Resources/VsResources.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Build.Tasks/Strings.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.CommandLine.XPlat/Strings.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Commands/Strings.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Credentials/Resources.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.PackageManagement/Strings.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Packaging/PackageCreation/Resources/NuGetResources.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Packaging/Rules/AnalysisResources.Designer.cs: Generated file
  • src/NuGet.Core/NuGet.Packaging/Strings.Designer.cs: Generated file

Nigusu-Allehu
Nigusu-Allehu previously approved these changes Jun 19, 2026

@Nigusu-Allehu Nigusu-Allehu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. CP has a few suggestions worth considering

@nkolev92
nkolev92 enabled auto-merge (squash) June 19, 2026 18:19
@nkolev92
nkolev92 requested a review from Nigusu-Allehu June 19, 2026 18:21

@donnie-msft donnie-msft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
This PR seems to make our messages clearer and not just remove "Please", which is great.
FWIW, I don't think we had to update CLI, as I seem to recall this being VS specific guidance.

@nkolev92

Copy link
Copy Markdown
Member

@nkolev92
nkolev92 merged commit 06a3d31 into dev Jun 19, 2026
20 checks passed
@nkolev92
nkolev92 deleted the copilot/remove-please-from-error-messages branch June 19, 2026 22:14
@zivkan zivkan mentioned this pull request Aug 21, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid please in error messages

5 participants