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)
Asked
Active
Viewed 1,230 times
4

Norgul
- 4,613
- 13
- 61
- 144
-
1Yes, it is accessible for .NET Core projects and I was able to add and use that package. Try this https://stackoverflow.com/a/43562917/5112433 – Ilya Chumakov Jun 12 '17 at 08:33
1 Answers
8
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.

Martin Ullrich
- 94,744
- 25
- 252
- 217
-
You just repeated my comment, did you really want to help this guy? – Ilya Chumakov Jun 12 '17 at 09:08
-
4I've been following FakeItEasy's transition to core since its 3.0.0 alpha builds for our company's projects so i felt compelled to write an answer. I'm not sure sure what the exact intention of your comment is but my motivation is primarily that i am huge fan of FakeItEasy. – Martin Ullrich Jun 12 '17 at 09:28