1 write to StartupAssembly
Microsoft.AspNetCore.Hosting (1)
Internal\WebHostOptions.cs (1)
21StartupAssembly = GetConfig(WebHostDefaults.StartupAssemblyKey);
6 references to StartupAssembly
Microsoft.AspNetCore.Hosting (4)
GenericHost\GenericWebHostBuilder.cs (2)
90if (!string.IsNullOrEmpty(webHostOptions.StartupAssembly)) 102var startupType = StartupLoader.FindStartupType(webHostOptions.StartupAssembly!, webhostContext.HostingEnvironment.EnvironmentName);
WebHostBuilder.cs (2)
302if (!string.IsNullOrEmpty(_options.StartupAssembly)) 304ScanAssemblyAndRegisterStartup(services, _options.StartupAssembly);
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostBuilderTests.cs (1)
35Assert.Equal("MyStartupAssembly", options.StartupAssembly);
WebHostConfigurationsTests.cs (1)
29Assert.Equal("MyProjectReference", config.StartupAssembly);