14 writes to AssemblyName
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
191applicationOptions.AssemblyName = entryPointAssembly.GetName().Name ?? string.Empty;
Aspire.Hosting.Tests (12)
Dcp\DcpExecutorTests.cs (11)
56AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 121AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 173AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 539AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 566AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 659AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 785AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 832AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 1883AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 1920AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 1957AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName
ManifestGenerationTests.cs (1)
117{ Args = GetJsonManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
TestProject.AppHost (1)
TestProgram.cs (1)
51AssemblyName = assemblyName,
4 references to AssemblyName
Aspire.Hosting (4)
DistributedApplicationOptions.cs (4)
145if (!string.IsNullOrEmpty(AssemblyName)) 150appHostAssembly = Assembly.Load(AssemblyName); 153throw new FileNotFoundException($"No assembly with name '{AssemblyName}' exists in the current AppDomain."); 158throw new InvalidOperationException($"Failed to load AppHost assembly '{AssemblyName}' specified in {nameof(DistributedApplicationOptions)}.", ex);