17 writes to AssemblyName
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
191applicationOptions.AssemblyName = entryPointAssembly.GetName().Name ?? string.Empty;
Aspire.Hosting.Tests (15)
Dcp\DcpExecutorTests.cs (14)
56AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 121AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 175AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 209AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 575AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 602AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 695AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 774AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 885AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 932AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 1987AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 2024AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 2061AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 2141AssemblyName = 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)
219if (!string.IsNullOrEmpty(AssemblyName)) 224appHostAssembly = Assembly.Load(AssemblyName); 227throw new FileNotFoundException($"No assembly with name '{AssemblyName}' exists in the current AppDomain."); 232throw new InvalidOperationException($"Failed to load AppHost assembly '{AssemblyName}' specified in {nameof(DistributedApplicationOptions)}.", ex);