microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.8k stars 320 forks source link

Update Runtime Identifier Paths for Compatibility with .NET 8 #4612

Closed ShashankNay closed 2 months ago

ShashankNay commented 2 months ago

This PR addresses a warning that occurs when targeting .NET 8 in projects using the Microsoft.WindowsAppSDK. The warning, identified as NETSDK1206, is triggered due to the use of version-specific or distribution-specific runtime identifiers (RIDs) like win10-arm64, win10-x64, and win10-x86. In .NET 8 and higher, these RIDs are not recognized by default, leading to potential issues in locating necessary assets. The runtime identifier paths have been modified from win10-$Platform to win-$Platform to align with the new RID scheme in .NET 8.

ShashankNay commented 2 months ago

/azp run

azure-pipelines[bot] commented 2 months ago
Azure Pipelines successfully started running 1 pipeline(s).