Hi all,
I want to Integration to Dynamics 365 for operations. But when the code generator tool was run, error occurred.
detail error is below. Anyone who has solution about this?
tool: OData v4 Client Code Generator
visual studio 2012
Advance thanks,
*Error Detail
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Error 1 Running transformation: System.InvalidCastException: Unable to cast object of type 'Microsoft.OData.Edm.Library.AmbiguousTypeBinding' to type 'Microsoft.OData.Edm.IEdmCollectionType'.
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.Utils.GetClrTypeName(IEdmTypeReference edmTypeReference, Boolean useDataServiceCollection, ODataClientTemplate clientTemplate, CodeGenerationContext context, Boolean addNullableTemplate, Boolean needGlobalPrefix, Boolean isOperationParameter) in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 2790
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.<>c__DisplayClass45.<WritePropertiesForStructuredType>b__42(IEdmProperty property) in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 2228
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.WritePropertiesForStructuredType(IEnumerable`1 properties) in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 2223
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.WriteEntityType(IEdmEntityType entityType, Dictionary`2 boundOperationsMap) in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 1763
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.WriteNamespace(String fullNamespace) in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 1256
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.WriteNamespaces() in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 1203
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.ODataClientTemplate.TransformText() in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 1195
at Microsoft.VisualStudio.TextTemplatingB3E5289CD3F90D44C86E226F85E52DA32ECE1D396C6DE26DDD7A5029CD1D6ADB10857448D61930C057435C5064C838D80C6AE4046801A81B22E0E238232761EA.GeneratedTextTransformation.TransformText() in c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs:line 96 c:\Users\dchung\AppData\Local\Temp\muip0at5.0.cs 2790 1 Miscellaneous Files
------------------------------------------------------------------------------------------------------------------------------------------------------------------