-
Notifications
You must be signed in to change notification settings - Fork 666
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
[WinUI][.NET 8] Class Library build failed with a warning NETSDK1206 #8599
Labels
Comments
XamlTest
changed the title
[WinUI][.NET 8.0.100-preview.6.23330.14] Class Library build failed with a warning NETSDK1206
[WinUI][.NET 8] Class Library build failed with a warning NETSDK1206
Jul 27, 2023
Is #8801 related? |
Windows App SDK 1.4.4 will be released shortly and includes support for portable RIDs, so the UseRidGraph workaround will no longer be necessary. |
Still seeing this in v1.5.240428000 |
Still present in v1.5.240607001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There is a warning after build Class Library (WinUI 3 in Desktop) project successfully with .NET 8.0.100-preview.6.23330.14.
Warning NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): win10-arm64, win10-x64, win10-x86. Affected libraries: Microsoft.WindowsAppSDK. 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.
Steps to reproduce the bug
Environment:
OS Version: Win11x64 & Win11-ARM64
VS Build: 17.7.0 Preview 3.0 [33901.74.d17.7]
.NET Version: .NET 8.0.100-preview.6.23330.14
More info:
This issue does not reproduce on .NET 6.
Repro Steps:
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
Expected Result:
Build successfully without error.
Actual Result:
There is a warning: NETSDK1206
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: