You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Describe the bug
The
Microsoft.Azure.DocumentDB.Core
package includes native assets inwin7-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 underwin10-<arch>
will not be found.The recommendation is to switch the package to using
win-<arch>
directories. TheMicrosoft.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
The text was updated successfully, but these errors were encountered: