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