2

We are currently trying to generate a C# OData client from Visual Studio, in order to read data from a Dynamics 365 Finance and Operations tenant.

But the $metadata file is so large that the C# compiler fails with this error!

CS8103: Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

Is there any configuration/workaround to reduce the size of the $metadata file served from `/data/$metadata?

Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
Mathieu Renda
  • 14,069
  • 2
  • 35
  • 33

0 Answers0