dotnet build unit test throwing below error
NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so.
Expected behavior
Need to be able to run Unit Test without any errors
Reproduction steps
In Visual Studio for MAC
Create a new Xamarin Project add Lottie library then create a nunit test project (net6.0 or net7.0) and add Xamarin project reference and try to build to see the issue.
🐛 Bug Report
dotnet build unit test throwing below error NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so.
Expected behavior
Need to be able to run Unit Test without any errors
Reproduction steps
In Visual Studio for MAC Create a new Xamarin Project add Lottie library then create a nunit test project (net6.0 or net7.0) and add Xamarin project reference and try to build to see the issue.
Configuration
Version: 4.0.11 (May be other versions as well)
Platform: