System.IO.Abstraction: Autofac.Core.DependencyResolutionException: ‘An error occurred during the activation of a particular registration
Background I started using the NuGet package System.IO.Abstractions to unit-test File methods (File.Exists(), File.OpenRead(), File.Move(), etc.). I installed the NuGet in both the unit test project and the product code project. I did not install any of the additional related packages. My unit test works well. In the product code private readonly System.IO.Abstractions.IFileSystem _fs; public […]