Skip to content

Conversation

@gewarren
Copy link
Contributor

@gewarren gewarren commented Nov 25, 2025

Reported on X by JetBrains dev - https://x.com/KooKiz/status/1992920135963951538.

(Hide whitespace changes.)


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/framework/app-domains/how-to-remove-an-assembly-from-the-gac.md How to: Remove an Assembly from the Global Assembly Cache
docs/framework/configure-apps/index.md Configure apps by using configuration files
docs/framework/data/adonet/ef/language-reference/literals-entity-sql.md "Literals (Entity SQL)"
docs/framework/data/adonet/sql/linq/system-datetime-methods.md System.DateTime Methods
docs/framework/interop/com-interop-sample-com-client-and-net-server.md COM Interop Sample: COM Client and .NET Server
docs/framework/tools/al-exe-assembly-linker.md docs/framework/tools/al-exe-assembly-linker
docs/framework/tools/caspol-exe-code-access-security-policy-tool.md Caspol.exe (Code Access Security Policy Tool)
docs/framework/tools/mdbg-exe.md "MDbg.exe (.NET Framework Command-Line Debugger)"
docs/framework/tools/mpgo-exe-managed-profile-guided-optimization-tool.md Mpgo.exe (Managed Profile Guided Optimization Tool)
docs/framework/tools/resgen-exe-resource-file-generator.md Resgen.exe (Resource File Generator)
docs/framework/tools/sn-exe-strong-name-tool.md docs/framework/tools/sn-exe-strong-name-tool
docs/framework/unmanaged-api/profiling/icorprofilercallback-movedreferences-method.md ICorProfilerCallback::MovedReferences Method
docs/framework/unmanaged-api/profiling/icorprofilercallback4-movedreferences2-method.md "ICorProfilerCallback4::MovedReferences2 Method"
docs/framework/wcf/diagnostics/tracing/recommended-settings-for-tracing-and-message-logging.md Recommended Settings for Tracing and Message Logging
docs/framework/wcf/feature-details/configuring-ws-atomic-transaction-support.md docs/framework/wcf/feature-details/configuring-ws-atomic-transaction-support
docs/framework/wcf/feature-details/deploying-an-internet-information-services-hosted-wcf-service.md Deploying an Internet Information Services-Hosted WCF Service
docs/framework/wcf/find-private-key-tool-findprivatekey-exe.md "Find Private Key Tool (FindPrivateKey.exe)"
docs/framework/wcf/samples/internet-information-service-hosting-instructions.md Internet Information Service Hosting Instructions
docs/framework/wcf/samples/one-time-setup-procedure-for-the-wcf-samples.md docs/framework/wcf/samples/one-time-setup-procedure-for-the-wcf-samples
docs/framework/wcf/servicemodelreg-exe.md ServiceModel Registration Tool (ServiceModelReg.exe)
docs/framework/wcf/wcf-service-publishing.md "WCF Service Publishing"
docs/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch.md Fault Handling in a Flowchart Activity Using TryCatch
docs/framework/windows-workflow-foundation/workflow-tracing.md "Workflow Tracing"

Copilot AI review requested due to automatic review settings November 25, 2025 01:32
@gewarren gewarren requested a review from a team as a code owner November 25, 2025 01:32
@dotnetrepoman dotnetrepoman bot added this to the November 2025 milestone Nov 25, 2025
Copilot finished reviewing on behalf of gewarren November 25, 2025 01:33
Copy link
Contributor

Copilot AI left a comment

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 corrects the use of em dashes (—) in command-line options throughout .NET Framework documentation, replacing them with proper hyphens (-). This is essential because command-line tools expect ASCII hyphens, not em dashes, which would cause commands to fail if copy-pasted from the documentation.

Key Changes

  • Replaced em dashes with hyphens in command-line options across 23 documentation files
  • Removed trailing whitespace in multiple files for better consistency
  • Updated metadata date in one file (mpgo-exe-managed-profile-guided-optimization-tool.md)

Reviewed changes

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

Show a summary per file
File Description
workflow-tracing.md Fixed command options in ServiceModelReg.exe examples
fault-handling-in-a-flowchart-activity-using-trycatch.md Fixed em dash in mathematical expression (non-command context)
wcf-service-publishing.md Fixed command options in aspnet_regiis.exe and ServiceModelReg.exe examples
servicemodelreg-exe.md Fixed command options throughout tool documentation and examples
one-time-setup-procedure-for-the-wcf-samples.md Fixed command options in aspnet_regiis and ServiceModelReg.exe examples
internet-information-service-hosting-instructions.md Fixed command option in aspnet_regiis example
find-private-key-tool-findprivatekey-exe.md Fixed command options in FindPrivateKey.exe example
deploying-an-internet-information-services-hosted-wcf-service.md Fixed command option reference to ASPNET_Regiis tool
configuring-ws-atomic-transaction-support.md Fixed command options in WsatConfig.exe examples
recommended-settings-for-tracing-and-message-logging.md Fixed command options in logman examples
icorprofilercallback4-movedreferences2-method.md Fixed em dash in mathematical expression
icorprofilercallback-movedreferences-method.md Fixed em dash in mathematical expression
sn-exe-strong-name-tool.md Fixed command options and references to options in documentation
resgen-exe-resource-file-generator.md Fixed return value notation from –1 to -1
mpgo-exe-managed-profile-guided-optimization-tool.md Fixed command options throughout and updated ms.date metadata
mdbg-exe.md Fixed command option reference in documentation
caspol-exe-code-access-security-policy-tool.md Fixed command options throughout tool documentation
al-exe-assembly-linker.md Fixed command option in Sn.exe example
com-interop-sample-com-client-and-net-server.md Fixed em dash in mathematical expression in code
system-datetime-methods.md Fixed em dash in mathematical expression
literals-entity-sql.md Fixed em dash in code comment (changed to standard double-dash comment)
configure-apps/index.md Fixed em dash in list item (non-command context)
how-to-remove-an-assembly-from-the-gac.md Fixed command option in gacutil example

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@gewarren gewarren enabled auto-merge (squash) November 25, 2025 01:35
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM @gewarren

Let's :shipit:

@gewarren gewarren merged commit 24a30ea into dotnet:main Nov 25, 2025
20 checks passed
@gewarren gewarren deleted the emdashes branch November 25, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants