Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the vocabularies folder out of date since updating to OData.Edm 8.x #46

Open
xuzhg opened this issue Nov 15, 2024 · 0 comments
Open

the vocabularies folder out of date since updating to OData.Edm 8.x #46

xuzhg opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@xuzhg
Copy link
Member

xuzhg commented Nov 15, 2024

Short summary (3-5 sentences) describing the issue.

Assemblies affected

The Vocabularies folder contains auto-generated classed based on the OData.Edm vocabularies models.

Now, the main branch is updated to OData.Edm 8.x version, However, it's still referencing the old version of OData.Edm

<#@ assembly name="$(NuGetPackageRoot)microsoft.odata.edm\7.9.0\lib\net45\Microsoft.OData.Edm.dll" #>

See details at:
https://github.com/OData/ModelBuilder/blob/main/src/Microsoft.OData.ModelBuilder/Vocabularies/VocabularyTermConfigurationExtensions.tt#L4

Expected result

  1. Update to use the same version of OData.Edm referenced in the csproj
  2. Auto-generate the corresponding C# classes
  3. Support the new added type/term, especially for the GeomtryFeature term which is using 'Edm.Geometry'

Actual result

What is actually happening.

Additional detail

Optional, details of the root cause if known. Delete this section if you have no additional details to add.

xuzhg added a commit that referenced this issue Nov 15, 2024
…ort the Edm.Geometry; Enable the T4 on .NET 8 platform using command line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant