description
I noticed some strange behavior when getting AutoFixture with xUnit data theories from NuGet.
AutoFixture references 'xunit.extensions, Version=1.6.1.1521, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' assembly. However, on NuGet the available xUnit.net packages start from version 1.7.0.1540. So NuGet fetched this version instead of the 1.6.1.1521.
At runtime, I get a FileLoadException:
System.IO.FileLoadException was unhandled
Message=Could not load file or assembly 'xunit.extensions, Version=1.6.1.1521, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source=mscorlib
FileName=xunit.extensions, Version=1.6.1.1521, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c
I think that this may discourage new users from trying AutoFixture because they will have to find the specific xUnit.net version themselves. Shall we upgrade to xUnit 1.7 or 1.8? (personally I would choose 1.8).