Open michalejoye opened 6 years ago
@michalejoye sorry for the slow reply; hopefully you have worked through the error.
At the moment, this project only supports .NET Core (netstandard1.6
) and .NET 4.5 (net4.52
) as you can see in the project.
If you want, we can update the project to netstandard2.0
and that should work for net461
.
Can I ask why you want to use DI in your tests? I've personally moved away from this approach as it added complexity the our testing.
We use DI in our testing to support mocking our Services and Repos. ASP.Net MVC Core really makes DI a first class citizen. We have moved away from the ASP.Net MVC Core DI system to AutoFac
I am getting this error when I using nuget Package 'xunit.ioc 1.1.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'.