5 references to StartupAssemblyKey
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostService.cs (1)
130
throw 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)
193
throw 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)
21
StartupAssembly = 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" },