unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.45k stars 685 forks source link

[Uno.Sdk] Find a solution for NETSDK1083 different than `UseRidGraph` #16529

Open Youssef1313 opened 2 weeks ago

Youssef1313 commented 2 weeks ago

What would you like to be added

https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1083

If you need to revert to the previous behavior of using the old, full RID graph, you can set the UseRidGraph MSBuild property to true in your project file. The old RID graph is no longer updated and exists only for backwards compatibility, and the option to use it might be removed in a future release.

It looks like UseRidGraph is there only for backcompat and may be removed in future or may cause issues. We should remove it:

https://github.com/unoplatform/uno/blob/8df2566051350cb748ea479039d3009101de5383/src/Uno.Sdk/targets/Uno.Common.WinAppSdk.targets#L4

Why is this needed

No response

For which platform

No response

Anything else we need to know?

No response

jeromelaban commented 2 weeks ago

There's currently no good solution to this issue at this time, WinAppSDK does not define its RIDs the right way.