unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.89k stars 720 forks source link

[MacOS] desktop build uses `net8.0` output from multi-targeted referenced project instead of `net8.0-macos` #17356

Open xperiandri opened 3 months ago

xperiandri commented 3 months ago

Current behavior

net8.0 output from multi-targeted referenced project instead of net8.0-macos

Expected behavior

net8.0-macos output from multi-targeted referenced project is used for desktop target framework on macOS

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

No response

Affected platforms

Skia (macOS)

IDE

Visual Studio 2022

IDE version

17.10.3

Relevant plugins

No response

Anything else we need to know?

No response

jeromelaban commented 3 months ago

Thanks for the report. Can you provide more details, and how this is affecting you? Make sure to always provide repro steps.