Skip to content

[Bug] NETSDK1206 warning on Microsoft.Identity.Client.NativeInterop #5281

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

Open
otykier opened this issue May 16, 2025 · 0 comments
Open

[Bug] NETSDK1206 warning on Microsoft.Identity.Client.NativeInterop #5281

otykier opened this issue May 16, 2025 · 0 comments
Labels
needs attention Delete label after triage public-client untriaged Do not delete. Needed for Automation

Comments

@otykier
Copy link

otykier commented May 16, 2025

Library version used

0.18.2

.NET version

.NET 8 (net8.0-windows)

Scenario

PublicClient - desktop app

Is this a new or an existing app?

The app is in production, and I have upgraded to a new version of MSAL

Issue description and reproduction steps

(Raising this issue here, as I don't have access to https://github.com/AzureAD/microsoft-authentication-library-for-cpp, which is the project website according to NuGet.

Library: Microsoft.Identity.Client.NativeInterop
Affected versions: 0.18.2, 0.19.0

After upgrading Microsoft.Identity.Client.NativeInterop from 0.18.1 to 0.18.2 or 0.19.0, we get the following warning in our .NET 8 app:

C:\Program Files\dotnet\sdk\9.0.204\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(323,5): warning NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): macos-arm64. Affected libraries: Microsoft.Identity.Client.NativeInterop. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.

The project in which we're referencing the library uses <RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>.

Relevant code snippets

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

0.18.1

Solution and workarounds

No response

@otykier otykier added untriaged Do not delete. Needed for Automation needs attention Delete label after triage labels May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs attention Delete label after triage public-client untriaged Do not delete. Needed for Automation
Projects
None yet
Development

No branches or pull requests

1 participant