I have a very simple test project with only one class as of now.
It's a .NET Core 2.0 library project.
I want to load an XmlSchema to pass to the class under test.
I get the following exception in XUnit, but was able to fix it by adding the NuGet package for "System.Collections.NonGeneric" in my test project.
The console application works fine without, is this something that needs to be added to NCrunch?
Kind regards,
Thijs Tijsma
System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.NonGeneric, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
at System.Xml.Schema.XmlSchema..ctor()
at System.Xml.Schema.Parser.StartParsing(XmlReader reader, String targetNamespace)
at System.Xml.Schema.Parser.Parse(XmlReader reader, String targetNamespace)
at System.Xml.Schema.XmlSchema.Read(XmlReader reader, ValidationEventHandler validationEventHandler)
at System.Xml.Schema.XmlSchema.Read(Stream stream, ValidationEventHandler validationEventHandler)