You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When createing an OdataConnectedService using the extension (from visual studio 2017 enterprise marketplace), the generated code does not compile and outputs the error :
Error CS0234 The type or namespace name 'EdmxReader' does not exist in the namespace 'Microsoft.OData.Edm.Csdl' (are you missing an assembly reference?)
When createing an OdataConnectedService using the extension (from visual studio 2017 enterprise marketplace), the generated code does not compile and outputs the error :
Problematic code :
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private static global::Microsoft.OData.Edm.IEdmModel LoadModelFromString()
{
global::System.Xml.XmlReader reader = CreateXmlReader(Edmx);
try
{
return global::Microsoft.OData.Edm.Csdl.EdmxReader.Parse(reader);
}
finally
{
((global::System.IDisposable)(reader)).Dispose();
}
}
The type EdmxReader should be replaced with CsdlReader as referenced in issue#632
The text was updated successfully, but these errors were encountered: