Skip to content

Commit

Permalink
Better handling of identifying assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
einari committed Jun 19, 2015
1 parent d67b196 commit 1a99417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Bifrost/Execution/AppDomainAssemblyProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public _Assembly Get(AssemblyInfo assemblyInfo)
return AppDomain.CurrentDomain.GetAssemblies()
.Where(assembly =>
!assembly.IsDynamic &&
assembly.Location == assemblyInfo.Path).SingleOrDefault();
assembly.GetName().Name == assemblyInfo.Name).SingleOrDefault();
}
#pragma warning restore 1591 // Xml Comments

Expand Down

0 comments on commit 1a99417

Please sign in to comment.