-
Notifications
You must be signed in to change notification settings - Fork 571
Description
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:
- Take a wsdl and generate client classes with svcutil
- Take a look in generated class (in my case the name is
Reference.cs - 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.