Skip to content

Document -u option for updating service references in dotnet-svcutil#51522

Merged
meaghanlewis merged 9 commits intomainfrom
copilot/add-update-references-instructions
Feb 9, 2026
Merged

Document -u option for updating service references in dotnet-svcutil#51522
meaghanlewis merged 9 commits intomainfrom
copilot/add-update-references-instructions

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

Plan to add instructions for updating references

  • Understand the issue and explore repository
  • Add a new section documenting the -u option for updating references
  • Ensure the new section follows Microsoft documentation style guidelines
  • Validate the changes by reviewing the output
  • Remove tab versions and show only the latest way per feedback

Changes made

Added a new section "Updating the service reference" that:

  • Explains how to update existing service references using the -u option
  • Provides the command syntax for the latest version (dotnet-svcutil): dotnet-svcutil -u .\path\to\reference\folder
  • Documents that the reference folder should contain the ConnectedService.json file
  • Explains how the tool uses this configuration file to regenerate the proxy code

Updated per review feedback to show only the latest version without tabs.

Original prompt

This section details on the original issue you should resolve

<issue_title>Please add instructions for updating references</issue_title>
<issue_description>The tool help summarizes this, but it took me a bit to figure it out. I think it should be:

dotnet svcutil -u .\path\to\reference\folder

Where the referencefolder contains the saved ConnectedService.json file.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Comments on the Issue (you are @copilot in this section)

@mairaw Thanks for your feedback @shoop. @mlacouture what do you think of adding this? Can you handle that? @dotnet-bot This issue has been closed as part of the issue backlog grooming process outlined in #22351.

That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.</comment_new>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Internal previews

📄 File 🔗 Preview link
docs/core/additional-tools/dotnet-svcutil-guide.md WCF dotnet-svcutil tool for .NET Core

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Add instructions for updating references Document -u option for updating service references in dotnet-svcutil Feb 5, 2026
Copilot AI requested a review from meaghanlewis February 5, 2026 00:17
@meaghanlewis
Copy link
Contributor

@copilot please remove the tab versions and just have one version of the latest way of completing a task.

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 5, 2026

@copilot please remove the tab versions and just have one version of the latest way of completing a task.

Removed the tab versions. The section now shows only the latest command: dotnet-svcutil -u .\path\to\reference\folder (commit a16ec11)

Removed references to dotnet-svcutil 1.x and cleaned up prerequisites section.
Removed an unnecessary empty line before the 'Getting started' section.
Removed duplicate section about invoking the dotnet-svcutil help command.
@meaghanlewis meaghanlewis marked this pull request as ready for review February 5, 2026 00:41
@meaghanlewis meaghanlewis requested a review from a team as a code owner February 5, 2026 00:41
Copilot AI review requested due to automatic review settings February 5, 2026 00:41
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 adds documentation for the -u (update) option in the dotnet-svcutil tool, addressing a user request for clearer instructions on updating existing service references. The changes also simplify the documentation by removing version-specific tabs and focusing on the latest tooling.

Changes:

  • Added new "Updating the service reference" section that documents the -u option for updating existing service references
  • Simplified documentation by removing tab-based version selection (1.x vs 2.x) throughout the document
  • Updated heading from "Using the Service Reference" to "Using the service reference" to follow sentence case convention

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@meaghanlewis meaghanlewis requested a review from gewarren February 9, 2026 17:15
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

Should we remove the references to .NET Core and just use ".NET" instead?

meaghanlewis and others added 2 commits February 9, 2026 15:15
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@meaghanlewis meaghanlewis merged commit 358d80b into main Feb 9, 2026
11 checks passed
@meaghanlewis meaghanlewis deleted the copilot/add-update-references-instructions branch February 9, 2026 23:45
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.

Please add instructions for updating references

4 participants