Skip to content

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

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

Fixed a lot of typos in the codebase and documentation#55327
HotCakeX wants to merge 2 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:

  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.

Fixed a lot of typos across the code base and documentations. Changed made to the codes have been carefully reviewed to ensure they only fix typos, nothing else.
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”).

**Input** - currently only other parameter symbols from the template configuration are supported within the parameter conditions. Any other variables are not bound and replaced (they are considered part of literal string).

**Evaluation order** - Dependencies between parameters are detected and evaluation is performed in order that guarantees that all dependencies are evaluated prior their dependant (see [Topological Sorting](https://en.wikipedia.org/wiki/Topological_sorting) for details).
**Evaluation order** - Dependencies between parameters are detected and evaluation is performed in order that guarantees that all dependencies are evaluated prior their dependent (see [Topological Sorting](https://en.wikipedia.org/wiki/Topological_sorting) for details).

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.

This one might have been correct?

</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifierWithWorkloadsDisabled">
<source>NETSDK1208: The target platform identifier {0} was not recognized. This is because MSBuildEnableWorkloadResolver is set to false which disables .NET SDK Workloads which is required for this identifer. Unset this environment variable or MSBuild property to enable workloads.</source>
<source>NETSDK1208: The target platform identifier {0} was not recognized. This is because MSBuildEnableWorkloadResolver is set to false which disables .NET SDK Workloads which is required for this identifier. Unset this environment variable or MSBuild property to enable workloads.</source>

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.

I'd expect these to get re-marked for translation. Assuming this was done via a tool, the right step may be to revert all the changes to the .xlf files and then just do a rebuild to let the tooling update it.

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.

3 participants