- Error when adding a xUnit Test project
Error
NU1201
Project FileUploaderAdal is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). Project FileUploaderAdal supports: uap10.0.17763 (UAP,Version=v10.0.17763)
FileUploaderAdal.xUnitTests
C:\dev\testdevops\FileUploaderAdal\FileUploaderAdal.xUnitTests\FileUploaderAdal.xUnitTests.csproj
.NET Core app cannot add a reference to UWP app and vice versa.
Soluiton: Create one project with .NET Standard and put classes you want to test, which UWP and xUnit .NET Core both can access.