314 references to AddDotnetProject
Aspire.Hosting.Azure.EntraId.Tests (5)
EntraIdProvisioningTests.cs (4)
447? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 472? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 508? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 1908nameof(DotnetProjectResource) => builder.AddDotnetProject("consumer", "consumer.csproj", options => options.ExcludeLaunchProfile = true),
EntraIdResourceBuilderTests.cs (1)
709? appBuilder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Azure.Kubernetes.Tests (2)
AzureKubernetesFoundryReferenceTests.cs (2)
34var dotnetAgent = builder.AddDotnetProject("agent", "agent.csproj", options => options.ExcludeLaunchProfile = true) 58? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Azure.Tests (56)
AzureApiManagementTests.cs (22)
48var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 164var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 190var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 272var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 295var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 323var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 348var target = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 370var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 495var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 902var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1110var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1151var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1203var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true); 1270var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true); 1297var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1321var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1390var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1421var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1683var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1708var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 2242var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 2786var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
AzureAppServiceTests.cs (1)
89var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
AzureContainerAppsTests.cs (1)
149var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
AzureFrontDoorAppServicePrivateLinkTests.cs (1)
201builder.AddDotnetProject(name, "project.csproj", options => options.ExcludeLaunchProfile = true)
AzureFrontDoorPrivateLinkTests.cs (28)
26var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 29var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 52var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 71var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 112var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 116var publicApi = builder.AddDotnetProject("public-api", "public-api.csproj", options => options.ExcludeLaunchProfile = true) 142var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 145var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 171var privateApi = builder.AddDotnetProject("private-api", "private-api.csproj", options => options.ExcludeLaunchProfile = true) 175var publicApi = builder.AddDotnetProject("public-api", "public-api.csproj", options => options.ExcludeLaunchProfile = true) 202var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 205var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 233var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 237var admin = builder.AddDotnetProject("admin", "admin.csproj", options => options.ExcludeLaunchProfile = true) 241var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 268var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 271var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 295var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 317var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 339var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 439var westApi = builder.AddDotnetProject("west-api", "west-api.csproj", options => options.ExcludeLaunchProfile = true) 443var eastApi = builder.AddDotnetProject("east-api", "east-api.csproj", options => options.ExcludeLaunchProfile = true) 469var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 498var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 502var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 531var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 535var middle = builder.AddDotnetProject("middle", "middle.csproj", options => options.ExcludeLaunchProfile = true) 539var web = builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true)
AzureResourcePreparerTests.cs (2)
451? builder.AddDotnetProject("service-a", "service-a.csproj", options => options.ExcludeLaunchProfile = true) 458? builder.AddDotnetProject("service-b", "service-b.csproj", options => options.ExcludeLaunchProfile = true)
AzureSandboxesTests.cs (1)
2788var project = builder.AddDotnetProject("frontend", "frontend.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Blazor.Tests (3)
AddDotnetProjectBlazorGatewayTests.cs (1)
42var weatherApi = builder.AddDotnetProject("weatherapi", "weatherapi.csproj", o => o.ExcludeLaunchProfile = true)
BlazorHostedExtensionsTests.cs (2)
41? builder.AddDotnetProject("weatherapi", "weatherapi.csproj", options => options.ExcludeLaunchProfile = true) 46? builder.AddDotnetProject("blazorapp", "blazorapp.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
924? builder.AddDotnetProject("target", "target.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Docker.Tests (3)
DockerComposePublisherTests.cs (2)
362var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true); 363builder.AddDotnetProject("worker", "worker.csproj", options => options.ExcludeLaunchProfile = true)
DockerComposeTests.cs (1)
115builder.AddDotnetProject("ServiceA", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
311return builder.AddDotnetProject(name, path, _ => { }); 325? builder.AddDotnetProject(name, path, _ => { }) 326: builder.AddDotnetProject(name, path, configure => ApplyProjectResourceOptions(configure, options));
Aspire.Hosting.Dotnet.Tests (200)
DotnetProjectBuildCoordinatorTests.cs (136)
60var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 120builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 162builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 222builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 285var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 308var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 372builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 403var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 445fileApp = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 446project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 450project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 451fileApp = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 492var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 522var worker = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 523var terminal = builder.AddDotnetProject("terminal", projectPath, options => options.ExcludeLaunchProfile = true); 550var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 576var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 596builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 620var project = builder.AddDotnetProject("api", "Api.csproj", options => options.ExcludeLaunchProfile = true) 649var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 706var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 780builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 817var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 845file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 846project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 850project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 851file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 929var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true) 931var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true) 1007var resource = builder.AddDotnetProject( 1055var first = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 1056var second = builder.AddDotnetProject("api-copy", projectPath, options => options.ExcludeLaunchProfile = true); 1069var project = builder.AddDotnetProject("api", "Api.csproj", options => options.ExcludeLaunchProfile = true) 1101builder.AddDotnetProject("first", firstProject, options => options.ExcludeLaunchProfile = true); 1102builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true); 1103builder.AddDotnetProject("first-copy", firstProject, options => options.ExcludeLaunchProfile = true); 1244builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 1285var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 1476var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1478var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1531var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 1619var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1621builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1643builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1644builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1665var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1670builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1694builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1695builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1718builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1719builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1757builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1779var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1810var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1811var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true); 1867var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1903var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1943var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 1994var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2111var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2158var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2214var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2272var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2341var project = builder.AddDotnetProject("broken", projectPath, options => options.ExcludeLaunchProfile = true); 2382var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2434var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2470var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2510var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2580var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 2582var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true); 2609builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2632builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2655var resource = builder.AddDotnetProject("app", appPath, options => options.ExcludeLaunchProfile = true); 2675builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2720var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2849builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2929builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2980builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3048builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3122var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3177var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 3227builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 3228var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 3255var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3284builder.AddDotnetProject("active", activePath, options => options.ExcludeLaunchProfile = true); 3285var removed = builder.AddDotnetProject("removed", removedPath, options => options.ExcludeLaunchProfile = true); 3308builder.AddDotnetProject("active", activePath, options => options.ExcludeLaunchProfile = true); 3309var replaced = builder.AddDotnetProject("replaced", replacedPath, options => options.ExcludeLaunchProfile = true); 3335var project = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true); 3336var file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 3392var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3393var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3451builder.AddDotnetProject("linked", aliasProjectPath, options => options.ExcludeLaunchProfile = true); 3452builder.AddDotnetProject("other", otherProjectPath, options => options.ExcludeLaunchProfile = true); 3534var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3564var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3597var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3630builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3631builder.AddDotnetProject("service-copy", projectPath, options => options.ExcludeLaunchProfile = true) 3657builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3658builder.AddDotnetProject("service-copy", projectPath, options => options.ExcludeLaunchProfile = true) 3660var missing = builder.AddDotnetProject("missing", missingPath, options => options.ExcludeLaunchProfile = true); 3661var removed = builder.AddDotnetProject("removed", removedPath, options => options.ExcludeLaunchProfile = true); 3691builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3692builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3755var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3756var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3843builder.AddDotnetProject("api", apiProject, options => options.ExcludeLaunchProfile = true) 3845builder.AddDotnetProject("worker", workerProject, options => options.ExcludeLaunchProfile = true) 3904var resource = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 3961var resource = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 4010builder.AddDotnetProject("first", firstProject, options => options.ExcludeLaunchProfile = true) 4012builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true) 4087builder.AddDotnetProject("worker", project, options => options.ExcludeLaunchProfile = true) 4129builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 4130builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true) 4189builder.AddDotnetProject("valid", validProject, options => options.ExcludeLaunchProfile = true) 4191var missing = builder.AddDotnetProject("missing", missingProject, options => options.ExcludeLaunchProfile = true); 4238var missing = builder.AddDotnetProject( 4298var project = builder.AddDotnetProject("environment-build", projectPath, options => options.ExcludeLaunchProfile = true) 4392var project = builder.AddDotnetProject("persistent-project", projectPath, options => options.ExcludeLaunchProfile = true) 4451var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4452builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4482builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4554var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4598var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4633var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4684var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4685builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4719var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4720builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4781builder.AddDotnetProject("environment-build", projectPath, options => options.ExcludeLaunchProfile = true) 4834builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 4835builder.AddDotnetProject("worker", fileApp, options => options.ExcludeLaunchProfile = true) 4898builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 4899var worker = builder.AddDotnetProject("worker", fileApp, options => options.ExcludeLaunchProfile = true)
DotnetProjectBuildEnvironmentTests.cs (1)
71var project = builder.AddDotnetProject(
DotnetProjectFacadeTests.cs (6)
18var resource = builder.AddDotnetProject("service", "Service.fsproj", options => options.ExcludeLaunchProfile = true); 99var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true); 109var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true) 142var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true); 163var disabled = builder.AddDotnetProject("disabled", path, options => options.ExcludeLaunchProfile = true) 166var enabled = builder.AddDotnetProject("enabled", path, options => options.ExcludeLaunchProfile = true)
DotnetProjectLaunchProfileTests.cs (2)
156builder.AddDotnetProject("service", path, options => options.LaunchProfileName = "Properties-second")); 272var resource = builder.AddDotnetProject("service", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPathTests.cs (10)
29var resource = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 30var relativeResource = builder.AddDotnetProject("relative", Path.GetFileName(projectPath), options => options.ExcludeLaunchProfile = true); 66var absolute = builder.AddDotnetProject("absolute", directory.FullName, options => options.ExcludeLaunchProfile = true); 67var relative = builder.AddDotnetProject("relative", "Service", options => options.ExcludeLaunchProfile = true); 98var resource = builder.AddDotnetProject("service", "", options => options.ExcludeLaunchProfile = true); 130var resource = builder.AddDotnetProject("service", directory.FullName, options => options.ExcludeLaunchProfile = true); 166var resource = builder.AddDotnetProject("service", path, options => options.ExcludeLaunchProfile = true); 203var modern = builder.AddDotnetProject("modern", directory.FullName, options => options.ExcludeLaunchProfile = true); 223var modern = builder.AddDotnetProject("modern", workspace.Path, options => options.ExcludeLaunchProfile = true); 334var excluded = builder.AddDotnetProject("excluded", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPublicApiTests.cs (1)
89var action = () => builder.AddDotnetProject("app", "app.csproj", configure: null!);
DotnetProjectResourceTests.cs (36)
41var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 57var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 73var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 84var app = builder.AddDotnetProject("svc", "MyService.csproj", o => o.ExcludeLaunchProfile = true); 99var resource = builder.AddDotnetProject("svc", fileBased ? "service.cs" : "Service.csproj", options => options.ExcludeLaunchProfile = true) 131builder.AddDotnetProject("svc", "Service.csproj", options => options.ExcludeLaunchProfile = true) 148var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 174var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 194var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 225var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 241var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 259var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 309: builder.AddDotnetProject("file-app", appPath, options => options.ExcludeLaunchProfile = true); 402var resource = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true) 433builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 458var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 476var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 486var app = builder.AddDotnetProject("appName", "app-path", options => { options.ExcludeLaunchProfile = true; }); 503var project = builder.AddDotnetProject("svc", projectPath, options => options.ExcludeLaunchProfile = true); 573var resource = builder.AddDotnetProject("testapp", projectPath, o => o.ExcludeLaunchProfile = true).Resource; 587var resource = builder.AddDotnetProject("testapp", appPath, o => o.ExcludeLaunchProfile = true).Resource; 626var project = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 649var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 709var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 726var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 799var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 825var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 844var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 879var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 903var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 934var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 965var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 995var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 1024var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 1067var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 1158var resource = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true)
Helpers\DotnetProjectContractFactory.cs (1)
25return builder.AddDotnetProject(name, GetProjectPath<TProject>(name), options =>
ProjectCustomizationCompatibilityTests.cs (1)
78return builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
ProjectReferenceCompatibilityTests.cs (2)
30source = builder.AddDotnetProject("source", "Source.csproj", options => options.ExcludeLaunchProfile = true); 41consumer = builder.AddDotnetProject("consumer", "Consumer.csproj", options => options.ExcludeLaunchProfile = true);
WslcDotnetPublishingTests.cs (4)
32var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 55var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 86var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 130var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.EntityFrameworkCore.Tests (15)
AddEFMigrationsTests.cs (2)
92var project = builder.AddDotnetProject("myproject", "MyProject.csproj", options => options.ExcludeLaunchProfile = true); 108var project = builder.AddDotnetProject("myproject", "app.cs", options => options.ExcludeLaunchProfile = true);
EFBuildCustomizationWarningTests.cs (5)
44: builder.AddDotnetProject("api", startupPath, options => options.ExcludeLaunchProfile = true); 45var target = builder.AddDotnetProject("target", new Projects.ServiceB().ProjectPath, 118var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath, 146var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath, 181var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath,
EFMigrationConfigurationTests.cs (4)
111? builder.AddDotnetProject("myproject", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true) 219var target = builder.AddDotnetProject("target", "app.cs", options => options.ExcludeLaunchProfile = true); 237? builder.AddDotnetProject("startup", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true) 242? builder.AddDotnetProject("target", new Projects.ServiceB().ProjectPath, options => options.ExcludeLaunchProfile = true)
EFMigrationPipelineTests.cs (1)
34var project = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath,
EFMigrationResourceTests.cs (2)
37var project = builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true); 66builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
EFMigrationToolConfigurationTests.cs (1)
18var project = builder.AddDotnetProject(
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
446var agent = builder.AddDotnetProject("agent", "agent.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Kubernetes.Tests (8)
KubernetesPersistentVolumeRunModeTests.cs (1)
27? builder.AddDotnetProject("project", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true)
KubernetesPublisherTests.cs (7)
1656var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1698builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1724var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1747builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1769builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1792var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1831builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
109? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true)
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
194? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true)
Aspire.Hosting.Radius.Tests (4)
InnerLoop\RadiusInfrastructureInitializationTests.cs (1)
102builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
Publishing\BicepGenerationSimpleTests.cs (1)
183builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
RadiusExtensionsTests.cs (2)
187? builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true) 205var project = builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
ProxylessEndToEnd.AppHost (1)
AppHost.cs (1)
19builder.AddDotnetProject("api2", "../ProxylessEndToEnd.ApiService/ProxylessEndToEnd.ApiService.csproj", options => options.ExcludeLaunchProfile = true)
Stress.AppHost (5)
AppHost.cs (5)
31builder.AddDotnetProject("manual-project-args", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true) 84var serviceBuilder = builder.AddDotnetProject("stress-apiservice", "../Stress.ApiService/Stress.ApiService.csproj", options => options.ExcludeLaunchProfile = true) 155var resourceBuilder = builder.AddDotnetProject($"empty-{i:0000}", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true) 167builder.AddDotnetProject("empty-profile-1", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1"); 168builder.AddDotnetProject("empty-profile-2", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1")
TestProject.AppHost (3)
TestProgram.cs (3)
77ServiceABuilder = AppBuilder.AddDotnetProject($"{testPrefix}servicea", new Projects.ServiceA().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http"); 78ServiceBBuilder = AppBuilder.AddDotnetProject($"{testPrefix}serviceb", new Projects.ServiceB().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http"); 79ServiceCBuilder = AppBuilder.AddDotnetProject($"{testPrefix}servicec", new Projects.ServiceC().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http");
TestShop.AppHost (1)
AppHost.cs (1)
215builder.AddDotnetProject("orderprocessor", "../OrderProcessor/OrderProcessor.csproj", options => options.LaunchProfileName = "OrderProcessor")
WebPubSub.AppHost (1)
AppHost.cs (1)
6var web = builder.AddDotnetProject("webfrontend", "../WebPubSubWeb/WebPubSubWeb.csproj", options => options.LaunchProfileName = "https")