diff --git a/src/Microsoft.AspNet.Hosting/Startup/StartupLoader.cs b/src/Microsoft.AspNet.Hosting/Startup/StartupLoader.cs index 7b1362e90f..eed8e7a6e4 100644 --- a/src/Microsoft.AspNet.Hosting/Startup/StartupLoader.cs +++ b/src/Microsoft.AspNet.Hosting/Startup/StartupLoader.cs @@ -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) {