33 references to AddProject
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (3)
117return builder.AddProject(name, projectPath, _ => { }); 139ProjectResourceOptions options => builder.AddProject(name, projectPath, configure => ApplyProjectResourceOptions(configure, options)), 239return builder.AddProject(name, projectPath, options =>
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdProvisioningTests.cs (3)
448: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 472: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true); 508: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true);
EntraIdResourceBuilderTests.cs (1)
710: appBuilder.AddProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true);
Aspire.Hosting.Azure.Tests (4)
AzureContainerAppExpressEndpointTests.cs (2)
29var api = builder.AddProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 34var web = builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true)
AzureContainerAppExpressTests.cs (2)
215var project = builder.AddProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 245var project = builder.AddProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Blazor.Tests (5)
BlazorHostedExtensionsTests.cs (5)
173var host = builder.AddProject("blazorapp", serverProjectPath, options => options.ExcludeLaunchProfile = true) 215var host = builder.AddProject("blazorapp", serverProjectPath, options => options.ExcludeLaunchProfile = true) 255var host = builder.AddProject("blazorapp", serverProjectPath, options => options.ExcludeLaunchProfile = true) 287var host = builder.AddProject("blazorapp", serverProjectPath, options => options.ExcludeLaunchProfile = true) 326builder.AddProject("blazorapp", serverProjectPath, options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectFacadeTests.cs (1)
169IResourceBuilder<ProjectResource> legacy = builder.AddProject("legacy", path, options => options.ExcludeLaunchProfile = true)
DotnetProjectPathTests.cs (2)
200var legacy = builder.AddProject("legacy", directory.FullName, options => options.ExcludeLaunchProfile = true); 221var legacy = builder.AddProject("legacy", workspace.Path, options => options.ExcludeLaunchProfile = true);
ProjectCustomizationCompatibilityTests.cs (1)
82return builder.AddProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
ProjectReferenceCompatibilityTests.cs (2)
35source = builder.AddProject("source", "Source.csproj", options => options.ExcludeLaunchProfile = true); 46consumer = builder.AddProject("consumer", "Consumer.csproj", options => options.ExcludeLaunchProfile = true);
Aspire.Hosting.Tests (11)
DistributedApplicationBuilderTests.cs (1)
223var project = appBuilder.AddProject("api", projectPath, options => options.ExcludeLaunchProfile = true);
ProjectResourceTests.cs (1)
1041var project = builder.AddProject("projectName", "another-path", options => { options.ExcludeLaunchProfile = true; });
PublishAsDockerfileTests.cs (6)
221var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true) 278var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true) 297var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true) 319var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true) 422var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true) 443var project = builder.AddProject("project", projectPath, o => o.ExcludeLaunchProfile = true)
Publishing\DotnetProgramArchiveTests.cs (1)
382return builder.AddProject("program", Path.Combine(workspacePath, "program.csproj"), static options => options.ExcludeLaunchProfile = true)
ResourceCommandServiceTests.cs (2)
1749var project = builder.AddProject("myProject", projectPath, options => options.ExcludeLaunchProfile = true); 1799var project = builder.AddProject("myProject", projectPath, options => options.ExcludeLaunchProfile = true)