Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET core with FakeItEasy

Can FakeItEasy work with .NET core? I have installed it through NuGet but I can't reference it in the project as using FakeItEasy because it doesn't find it. I have checked under NuGet dependencies and I see it as FakeItEasy (3.3.2)

like image 638
Norgul Avatar asked Feb 04 '23 07:02

Norgul


1 Answers

Yes, FakeItEasy > 3.0.0 is compatible with .NET Standard 1.6 which means it will run in .NET Core 1.0 and higher.

You may have problems restoring and using packages, try running dotnet restore from command line and closing and re-opening visual studio completely. Also check if dotnet build gives the same error message as VS.

like image 138
Martin Ullrich Avatar answered Feb 15 '23 16:02

Martin Ullrich