Fix bad call to Assembly.GetType in Hosting.

CR: chrross
This commit is contained in:
GrabYourPitchforks 2014-03-18 11:44:25 -07:00
parent cd9d3a3335
commit ea1f93aa91
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace Microsoft.AspNet.Hosting.Startup
}
// Check the most likely places first
type = assembly.GetType(typeName) ?? assembly.GetType(assembly + "." + typeName);
type = assembly.GetType(typeName) ?? assembly.GetType(assembly.GetName().Name + "." + typeName);
if (type == null)
{