Look for Startup and AssemblyName.Startup

This commit is contained in:
David Fowler 2014-02-14 00:20:08 -08:00
parent 14679a78ee
commit 7aeecf6bce
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Hosting.Startup
throw new Exception(String.Format("TODO: assembly {0} failed to load message", assemblyName));
}
var type = assembly.GetType(typeName);
var type = assembly.GetType(typeName) ?? assembly.GetType(assemblyName + "." + typeName);
if (type == null)
{
throw new Exception(String.Format("TODO: type {0} failed to load message", typeName));