Closed Pantzer-byte closed 4 years ago
Hi, @Pantzer-byte I tried to reproduce the issue with your data in Visual Studio 2019 v16.6.2 (and Visual Studio 2017 v15.9.23) - there are no errors:
Try to remove all generated files and generate client code again.
Hey @unchase Thank you for your quick reply :) I will try very soon and let you know. Have a nice day!
Hi, @Pantzer-byte Have you tried it?
Hi @unchase,
I have tried, in VS Professional 2015, Version: 14.0.25420.01 Update 3.
Same problem.
Argument 1: Cannot convert from 'System.Xml.XmlReader' to System.Collections.Generic.IEnumerable
Argument 2: cannot convert from 'bool' to 'Microsoft.OData.Edm.IEdmModel'
VS 2015 does not supports by the Connected Service:
You should use VS 2017 or VS 2019 for generating client.
Encountered with the same issue, I resolved it by updating OData Nuget packages to newer version.
Describe the bug
When generating model classes, I get two errors in my LoadModelFromString method in the Reference.cs class:
I need to manually fix the code after each time the Reference class is generated via the Unchase OData Connected Service.
Assemblies affected
Unchase OData Connected Service v1.4.1 Microsoft Visual Studio Professional 2017 15.9.28307.1093
Steps to reproduce