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
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:
📱 iOS
🤖 Android
🏁 WPF
🌎 UWP
🍎 MacOS
📺 tvOS
🐒 Xamarin.Forms
The text was updated successfully, but these errors were encountered:
🐛 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:
The text was updated successfully, but these errors were encountered: