10 writes to AssemblyName
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
156applicationOptions.AssemblyName = _entryPoint.Assembly.GetName().Name ?? string.Empty;
Aspire.Hosting.Tests (8)
Dcp\ApplicationExecutorTests.cs (6)
53AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 413AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 440AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 529AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 649AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName 696AssemblyName = typeof(DistributedApplicationTests).Assembly.FullName
ManifestGenerationTests.cs (1)
151{ Args = GetManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
Utils\TestDistributedApplicationBuilder.cs (1)
94applicationOptions.AssemblyName = assemblyName;
TestProject.AppHost (1)
TestProgram.cs (1)
49AssemblyName = assemblyName,
4 references to AssemblyName
Aspire.Hosting (4)
DistributedApplicationOptions.cs (4)
92if (!string.IsNullOrEmpty(AssemblyName)) 97appHostAssembly = Assembly.Load(AssemblyName); 100throw new FileNotFoundException($"No assembly with name '{AssemblyName}' exists in the current AppDomain."); 105throw new InvalidOperationException($"Failed to load AppHost assembly '{AssemblyName}' specified in {nameof(DistributedApplicationOptions)}.", ex);