5 references to StartupAssemblyKey
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostService.cs (1)
130throw new InvalidOperationException($"No application configured. Please specify an application via IWebHostBuilder.UseStartup, IWebHostBuilder.Configure, or specifying the startup assembly via {nameof(WebHostDefaults.StartupAssemblyKey)} in the web host configuration.");
Internal\WebHost.cs (1)
193throw new InvalidOperationException($"No application configured. Please specify startup via IWebHostBuilder.UseStartup, IWebHostBuilder.Configure, injecting {nameof(IStartup)} or specifying the startup assembly via {nameof(WebHostDefaults.StartupAssemblyKey)} in the web host configuration.");
Internal\WebHostOptions.cs (1)
21StartupAssembly = GetConfig(WebHostDefaults.StartupAssemblyKey);
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
59.UseSetting(WebHostDefaults.StartupAssemblyKey, startupAssemblyName);
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostConfigurationsTests.cs (1)
18{ WebHostDefaults.StartupAssemblyKey, "MyProjectReference" },