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

Use non-version-specific RID folders in Microsoft.Azure.DocumentDB.Core NuGet package #978

Open
elinor-fung opened this issue Jun 14, 2024 · 0 comments

Comments

@elinor-fung
Copy link

Describe the bug

The Microsoft.Azure.DocumentDB.Core package includes native assets in win7-x64 directories.

Starting with .NET 8, the .NET Runtime will not respect these directories and will only look in non-version-specific directories (win-<arch>). As a result, the assets under win10-<arch> will not be found.

The recommendation is to switch the package to using win-<arch> directories. The Microsoft.Azure.Cosmos package for the v3 SDK already does this.

To Reproduce

Create a project targeting .NET 8+ that references Microsoft.Azure.DocumentDB.Core.

Expected behavior

Actual behavior

Environment summary

SDK Version: 2.22.0
OS Version (e.g. Windows, Linux, MacOSX): Windows

Additional context

https://learn.microsoft.com/dotnet/core/compatibility/deployment/8.0/rid-asset-list
https://learn.microsoft.com/dotnet/core/compatibility/sdk/8.0/rid-graph

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