Skip to content

Pin ODataLib versions so the shipped GXOData binary is deterministic (6.0.4)#12

Merged
claudiamurialdo merged 1 commit into
6.0-GXfrom
chore/net462-target-for-odata-client
Jun 3, 2026
Merged

Pin ODataLib versions so the shipped GXOData binary is deterministic (6.0.4)#12
claudiamurialdo merged 1 commit into
6.0-GXfrom
chore/net462-target-for-odata-client

Conversation

@claudiamurialdo

Copy link
Copy Markdown
Collaborator

The package referenced Microsoft.Data.OData "[5., 6.0.0)" and Microsoft.OData.Core "[7., 8.0.0)" — floating lower bounds that bind the redistributed GXOData.Client.All binary to whatever patch was latest at build time. 6.0.3 ended up bound to Microsoft.Data.OData/Edm 5.8.5.0, while consumers pinning 5.8.4 only deploy 5.8.4.0, so Assembly.GetTypes() on the merged adapter threw ReflectionTypeLoadException.

Pin both to fixed versions (Microsoft.Data.OData 5.8.4, Microsoft.OData.Core 7.4.4), centralized as MSBuild properties in src/Directory.Build.props as the single source of truth across the V3/V4 adapters and the merged GXOData.Client.All. Restore now resolves 5.8.4 / 7.4.4, matching consumers. Bump AssemblyVersion 6.0.3.0 -> 6.0.4.0 so the fixed binary ships as a new package version.
Issue:208663

…(6.0.4)

The package referenced Microsoft.Data.OData "[5.*, 6.0.0)" and Microsoft.OData.Core
"[7.*, 8.0.0)" — floating lower bounds that bind the redistributed GXOData.Client.All
binary to whatever patch was latest at build time. 6.0.3 ended up bound to
Microsoft.Data.OData/Edm 5.8.5.0, while consumers pinning 5.8.4 only deploy 5.8.4.0,
so Assembly.GetTypes() on the merged adapter threw ReflectionTypeLoadException.

Pin both to fixed versions (Microsoft.Data.OData 5.8.4, Microsoft.OData.Core 7.4.4),
centralized as MSBuild properties in src/Directory.Build.props as the single source
of truth across the V3/V4 adapters and the merged GXOData.Client.All. Restore now
resolves 5.8.4 / 7.4.4, matching consumers. Bump AssemblyVersion 6.0.3.0 -> 6.0.4.0
so the fixed binary ships as a new package version.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@claudiamurialdo claudiamurialdo merged commit be5f1bd into 6.0-GX Jun 3, 2026
1 check passed
@claudiamurialdo claudiamurialdo deleted the chore/net462-target-for-odata-client branch June 3, 2026 19:27
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

Successfully merging this pull request may close these issues.

1 participant