Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1945 from awec/master
Browse files Browse the repository at this point in the history
Additional call to UpdateTypes in Bootstrap. Fixes #1942
  • Loading branch information
grumpydev committed May 26, 2015
2 parents ec64b65 + b1855fc commit 55f6cad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Nancy/Bootstrapper/NancyBootstrapperBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ public void Initialise()

this.ConfigureApplicationContainer(this.ApplicationContainer);

// We need to call this to fix an issue with assemblies that are referenced by DI not being loaded
AppDomainAssemblyTypeScanner.UpdateTypes();

var typeRegistrations = this.InternalConfiguration.GetTypeRegistations()
.Concat(this.GetAdditionalTypes());

Expand Down

0 comments on commit 55f6cad

Please sign in to comment.