You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
The Xamarin.CommunityToolkit has a dependency on Xamarin.Forms.Platform.WPF when targetting .netcoreapp3.1. Xamarin.Forms.Platform.WPF in turn is dependent on OpenTK, which is not compatible with .netcoreapp3.1
from our build logs:
warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
/usr/local/share/dotnet/sdk/5.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(324,5): error NETSDK1073: The FrameworkReference 'Microsoft.WindowsDesktop.App' was not recognized [/Users/administrator/devops-agents/_work/1/s/src/DriverApp.UnitTests/DriverApp.UnitTests.csproj]
Our testproject does have a FrameworkReference to Microsoft.WindowsDesktop.App
Steps to Reproduce
Create an XUnit test project, targetting .netcoreapp3.1
Add packagereference to Xamarin.CommunityToolkit 1.0.3
run dotnet test on a mac
Expected Behavior
Project builds and runs tests.
Actual Behavior
Build fails with error NETSDK1073: The FrameworkReference 'Microsoft.WindowsDesktop.App' was not recognized