Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test.Initialize fails to start after upgrading to NServiceBus.Testing 5.0.5 #24

Closed
ghost opened this issue Oct 8, 2015 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Oct 8, 2015

Test.Initialize fails to run. It throws a KeyNotFoundException.
This was fixed in 5.0.4 #20.
Now it happens again. But now adding Assembly.LoadFrom("NServiceBus.Testing.dll") doesn't help.

            var assemblies = new List<Assembly>
            {
                typeof(IMessage).Assembly,
                typeof(SchemaImportedInFag).Assembly,
                typeof(AutorisasjonOgLisensFormReceivedEvent).Assembly,
                Assembly.LoadFrom("NServiceBus.Testing.dll")
            };

            Test.Initialize(x =>
                x.AssembliesToScan(assemblies));
@andreasohlund
Copy link
Member

Duplicate of #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant