I am running xunit tests from a .netcore class library. Today I started receiving this error and I am completely stumped. I did recently renew my licence, don’t think it would be related. I’ve tried using a binding redirect in app.config to no avail. I don’t necessarily think that this is actually related to ServiceStack directly, wondering if anyone has ever experienced this. I’m using VS2017 so no project.json, I’ve added the PackageTargetFallback to the project file. These tests were all running (honestly ;)) last week.
Any help or ideas would be greatly appreciated,
[xUnit.net 00:00:00.7756535] -------- System.TypeInitializationException : The type initializer for ‘ServiceStack.PclExport’ threw an exception.
[xUnit.net 00:00:00.7756831] ------------ System.IO.FileNotFoundException : Could not load file or assembly ‘System.Net.Http, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.