Skip to content

Fixed a lot of typos in the codebase and documentation#55327

Open
HotCakeX wants to merge 7 commits into
dotnet:mainfrom
HotCakeX:Fixed-many-typos
Open

Fixed a lot of typos in the codebase and documentation#55327
HotCakeX wants to merge 7 commits into
dotnet:mainfrom
HotCakeX:Fixed-many-typos

Conversation

@HotCakeX

@HotCakeX HotCakeX commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Fixed a lot of typos across the code base and documentations. These are not nitpicking, personal preferences nor grammar errors, these are obvious typos. Changes made to the codes have been carefully reviewed to ensure they only fix typos, nothing else.

Here are some of the examples of fixed typos:

  • will be be ignored -> will be ignored
  • specifed -> specified
  • successfuly -> successfully
  • verison -> version
  • identifer -> identifier
  • existance -> existence
  • containg -> containing
  • mutli-core -> multi-core
  • Virutal -> Virtual
  • fond teh item -> found the item

And so on.

Copilot AI review requested due to automatic review settings July 16, 2026 20:27
@HotCakeX
HotCakeX requested review from a team, tmat and vijayrkn as code owners July 16, 2026 20:27
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions github-actions Bot added the sdk-diagnostic-docs-needed Indicates that a PR introduces new diagnostic codes, which must be documented over at dotnet/docs label Jul 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📋 SDK Diagnostic Documentation Reminder

This PR introduces 1 new SDK diagnostic code:

  • NETSDK1208

Action Required

Please ensure that documentation for this diagnostic is added or updated in the dotnet/docs repository at:

Each diagnostic should have:

  • A clear description of the error/warning
  • Possible causes
  • Recommended solutions
  • Code examples where applicable

Thank you for helping keep our documentation up to date! 🙏

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 performs typo corrections across the .NET SDK repo, spanning tests, MSBuild tasks/targets, developer documentation, and localized resource strings to improve clarity and consistency without intended behavior changes.

Changes:

  • Fixes misspellings in identifiers/parameter names in test and source code (e.g., identiferidentifier), plus related comments.
  • Corrects typos in MSBuild tasks/targets and analyzer/test comments.
  • Updates docs and resource strings (.resx and corresponding .xlf) to correct misspellings in user-facing text.

Reviewed changes

Copilot reviewed 36 out of 36 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAHelloWorldProject.cs Renames local variable identiferidentifier and fixes a nearby comment typo.
test/Microsoft.NET.Build.Tests/GivenThatWeWantToVerifyNuGetReferenceCompat.cs Fixes named argument and parameter spelling identiferidentifier.
test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs Fixes a comment typo (“Identifer” → “Identifier”).
src/WebSdk/Publish/Tasks/Tasks/MsDeploy/NormalizeServiceUrl.cs Fixes comment typo (“explicityly” → “explicitly”).
src/WebSdk/Publish/Tasks/MsDeploy/CommonUtility.cs Fixes comment typos (“fond teh” → “found the”).
src/TemplateEngine/Tools/Microsoft.TemplateEngine.TemplateLocalizer.Core/ExportResult.cs Fixes XML doc typo (“occured” → “occurred”).
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props Fixes comment typo (“verison” → “version”).
src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageDependencies.cs Fixes doc comment typo (“compatability” → “compatibility”).
src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs Fixes private method name typo (ShouldWarnOnRuntimeIdentiferShouldWarnOnRuntimeIdentifier) and updates usages.
src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.tr.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.ru.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.pl.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.ko.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.ja.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.it.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.fr.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.es.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.de.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/xlf/Strings.cs.xlf Updates localized resource <source> text to fix “identifer” → “identifier”.
src/Tasks/Common/Resources/Strings.resx Fixes user-facing resource text typo (“identifer” → “identifier”).
src/RazorSdk/Tool/ShadowCopyManager.cs Fixes comment typo (“existance” → “existence”).
src/Microsoft.CodeAnalysis.NetAnalyzers/tests/Microsoft.CodeAnalysis.NetAnalyzers.UnitTests/Microsoft.NetCore.Analyzers/InteropServices/PlatformCompatibilityAnalyzerTests.cs Fixes comment typo (“containg” → “containing”).
src/Microsoft.CodeAnalysis.NetAnalyzers/src/Microsoft.CodeAnalysis.NetAnalyzers/Microsoft.NetFramework.Analyzers/Helpers/SecurityDiagnosticHelpers.cs Fixes comment typo (“verison” → “version”).
src/Microsoft.CodeAnalysis.NetAnalyzers/src/Microsoft.CodeAnalysis.CSharp.NetAnalyzers/Microsoft.NetCore.Analyzers/InteropServices/CSharpDisableRuntimeMarshalling.Fixer.cs Fixes local variable name typo (renameIdentiferAnnotationrenameIdentifierAnnotation).
src/Microsoft.CodeAnalysis.NetAnalyzers/docs/performance.md Fixes typo (“mutli-core” → “multi-core”) and removes unintended indentation affecting rendering.
src/Dotnet.Watch/Watch/Process/ProcessRunner.cs Fixes XML doc typo (“Virutal” → “Virtual”).
src/Dotnet.Watch/dotnet-watch/README.md Fixes typo (“successfuly” → “successfully”).
src/Compatibility/Microsoft.DotNet.ApiSymbolExtensions/Filtering/SymbolFilterFactory.cs Fixes XML doc typos (“specifed” → “specified”).
documentation/TemplateEngine/template-resolution-for-dotnet-cli.md Fixes typo (“moving o” → “moving to”) and removes unintended indentation affecting rendering.
documentation/TemplateEngine/Post-Action-Registry.md Fixes duplicated word typo (“will be be ignored” → “will be ignored”).
documentation/TemplateEngine/contributing/how-to-create-new-generated-symbol.md Fixes typo (“implemetation” → “implementation”).
documentation/TemplateEngine/Conditions.md Fixes typo (“dependant” → “dependent”).
documentation/general/SelfContainedBreakingChangeNotification.md Fixes typo (“RuntimeIdentifer” → “RuntimeIdentifier”).

Comment thread documentation/TemplateEngine/Conditions.md Outdated
Comment thread src/Tasks/Common/Resources/xlf/Strings.cs.xlf Outdated
@tannergooding

tannergooding commented Jul 17, 2026

Copy link
Copy Markdown
Member

LGTM, minus needing to address Jason's feedback

Fixed a lot of typos across the code base and documentations. These are **not** nitpicking, personal preferences nor grammar errors, these are obvious typos. Changes made to the codes have been carefully reviewed to ensure they only fix typos, nothing else.

Here are some of the examples of fixed typos:

1. `dependant` -> `dependent`
2. `will be be ignored` -> `will be ignored`
3. `specifed` -> `specified`
4. `successfuly` -> `successfully`
5. `verison` -> `version`
6. `identifer` -> `identifier`
7. `existance` -> `existence`
8. `containg` -> `containing`
9. `mutli-core` -> `multi-core`
10. `Virutal` -> `Virtual`
11. `fond teh item` -> `found the item`

And so on.
@HotCakeX
HotCakeX requested a review from a team as a code owner July 22, 2026 15:01
@tannergooding

Copy link
Copy Markdown
Member

@HotCakeX

Some related build failures

D:\a\_work\1\s\.packages\microsoft.dotnet.xlifftasks\11.0.0-beta.26363.117\build\Microsoft.DotNet.XliffTasks.targets(84,5): error : '..\Common\Resources\xlf\Strings.cs.xlf' is out-of-date with '..\Common\Resources\Strings.resx'. Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build. [D:\a\_work\1\s\src\Tasks\Microsoft.NET.Build.Extensions.Tasks\Microsoft.NET.Build.Extensions.Tasks.csproj::TargetFramework=net472]
D:\a\_work\1\s\.packages\microsoft.dotnet.xlifftasks\11.0.0-beta.26363.117\build\Microsoft.DotNet.XliffTasks.targets(84,5): error : '..\Common\Resources\xlf\Strings.cs.xlf' is out-of-date with '..\Common\Resources\Strings.resx'. Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build. [D:\a\_work\1\s\src\Tasks\Microsoft.NET.Build.Extensions.Tasks\Microsoft.NET.Build.Extensions.Tasks.csproj::TargetFramework=net11.0]
D:\a\_work\1\s\.packages\microsoft.dotnet.xlifftasks\11.0.0-beta.26363.117\build\Microsoft.DotNet.XliffTasks.targets(84,5): error : '..\..\src\Tasks\Common\Resources\xlf\Strings.cs.xlf' is out-of-date with '..\..\src\Tasks\Common\Resources\Strings.resx'. Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build. [D:\a\_work\1\s\test\Microsoft.NET.Publish.Tests\Microsoft.NET.Publish.Tests.csproj]
D:\a\_work\1\s\.packages\microsoft.dotnet.xlifftasks\11.0.0-beta.26363.117\build\Microsoft.DotNet.XliffTasks.targets(84,5): error : 'D:\a\_work\1\s\src\Tasks\Common\Resources\xlf\Strings.cs.xlf' is out-of-date with 'D:\a\_work\1\s\src\Tasks\Common\Resources\Strings.resx'. Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build. [D:\a\_work\1\s\src\Cli\dotnet\dotnet.csproj]

@HotCakeX

Copy link
Copy Markdown
Contributor Author

@tannergooding Thank you for telling me, i fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-diagnostic-docs-needed Indicates that a PR introduces new diagnostic codes, which must be documented over at dotnet/docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants