Skip to content

Since v10.0.652802 several types are not included #5868

@ronaldcreutz-vw

Description

@ronaldcreutz-vw

Describe the bug
I'm using the svcutil tool to generate the proxy classed based on a wsdl file on linux (ubuntu).
I references the libraries in my dotnet 8 project:
System.ServiceModel.Http and System.ServiceModel.Primitives, both in version 8.1.2. All working properly.

After I changed the version of that references libraries to 10.0.652802, I got the compilation errors. Because a lot of types in the generated file (by svcutil) are not included anymore. The version of the dotnet 8 - i didn't change.

To Reproduce
Steps to reproduce the behavior:

  1. Take a wsdl and generate client classes with svcutil
  2. Take a look in generated class (in my case the name is Reference.cs
  3. A lot of types are missing, e.g. The type or namespace name 'MessageContractAttributeAttribute' does not exist in the namespace 'System.ServiceModel', The type or namespace name 'MessageContractAttribute' does not exist in the namespace 'System.ServiceModel', The type or namespace name 'MessageHeaderAttributeAttribute' does not exist in the namespace 'System.ServiceModel' and many more

Expected behavior
I tryed to reference additional libraries, but this do not solve the problem. Because I used the current version of svcutil tool, I expect that all classes are known.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions