I keep getting this error while using xunit for .NET 1.0 framework net46.
The following constructor parameters did not have matching fixture data
I have seen this post: Collection fixture won't inject and followed the instructions regarding collection fixture closely as described here:
http://xunit.github.io/docs/shared-context.html#collection-fixture
Nothing seems to work.
Any suggestions to what might cause this?
In my case it turned out to be a matter of doing it right according to the instructions. By mistake I had annotated the class with
[Collection("ProjectCollection")]
instead of:
[Collection("ActorProjectCollection")]
I must say that the dependency injection mechanism of XUnit would be greatly improved if the error messages gave more explicit hint of what is wrong.