dotnet / dotnet/wcf

dotnet-svcutil --update should not reorder the class definitions

Open
#4,230 1 comment 0 reactions 0 assignees View on GitHub
priority 3 tooling
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

**Describe the bug**
When updating a service reference based off the same exact WSDL, the order of the classes in the `Reference.cs` file changes, which makes it less version control friendly. It also makes it harder to determine what changed when the WSDL did change.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a new service reference from a WSDL
2. Make a copy of the `Reference.cs` file
3. Run `dotnet-svcutil --update` with your service reference
4. Compare the `Reference.cs` files generated in step 2 and 3.

**Expected behavior**
When running `dotnet-svcutil --update` on a WSDL that has not change, the order of the classes in `Reference.cs` should stay the same.

**Screenshots**
N/A

**Additional context**
using dotnet-svcutil 2.0.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.