375 writes to ExcludeLaunchProfile
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (3)
196options.ExcludeLaunchProfile = launchProfileName is null; 241options.ExcludeLaunchProfile = launchProfileName is null; 485target.ExcludeLaunchProfile = source.ExcludeLaunchProfile;
Aspire.Hosting.Azure.EntraId.Tests (9)
EntraIdProvisioningTests.cs (7)
446? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 448: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 471? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 472: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true); 507? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 508: builder.AddProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true); 1909nameof(DotnetProjectResource) => builder.AddDotnetProject("consumer", "consumer.csproj", options => options.ExcludeLaunchProfile = true),
EntraIdResourceBuilderTests.cs (2)
709? appBuilder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 710: appBuilder.AddProject("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 (65)
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) 215var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 238var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 266var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 291var target = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 313var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 438var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 845var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1053var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1094var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1146var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true); 1213var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true); 1240var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1264var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1333var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1364var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1626var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 1651var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 2185var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 2729var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
AzureApplicationInsightsExtensionsTests.cs (1)
93var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true)
AzureAppServiceTests.cs (1)
88var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
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)
AzureContainerAppsTests.cs (1)
150var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
AzureFrontDoorAppServicePrivateLinkTests.cs (1)
200builder.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)
450? builder.AddDotnetProject("service-a", "service-a.csproj", options => options.ExcludeLaunchProfile = true) 457? 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)
AzureWebPubSubExtensionsTests.cs (3)
118var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint(); 149var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint(); 222var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint();
PublicApiTests\AppContainersPublicApiTests.cs (1)
106var project = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true);
Aspire.Hosting.Blazor.Tests (8)
AddDotnetProjectBlazorGatewayTests.cs (1)
42var weatherApi = builder.AddDotnetProject("weatherapi", "weatherapi.csproj", o => o.ExcludeLaunchProfile = true)
BlazorHostedExtensionsTests.cs (7)
41? builder.AddDotnetProject("weatherapi", "weatherapi.csproj", options => options.ExcludeLaunchProfile = true) 46? builder.AddDotnetProject("blazorapp", "blazorapp.csproj", options => options.ExcludeLaunchProfile = true) 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.DevTunnels.Tests (2)
DevTunnelResourceBuilderExtensionsTests.cs (2)
925? builder.AddDotnetProject("target", "target.csproj", options => options.ExcludeLaunchProfile = true) 926: builder.AddProject<ProjectA>("target", 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)
116builder.AddDotnetProject("ServiceA", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet (1)
DotnetProjectHostingExtensions.cs (1)
546target.ExcludeLaunchProfile = source.ExcludeLaunchProfile;
Aspire.Hosting.Dotnet.Tests (204)
DotnetProjectBuildCoordinatorTests.cs (134)
52var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 112builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 154builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 214builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 273var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 296var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 360builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 391var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 433fileApp = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 434project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 438project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 439fileApp = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 480var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 510var worker = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 511var terminal = builder.AddDotnetProject("terminal", projectPath, options => options.ExcludeLaunchProfile = true); 538var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 564var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 584builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 608var project = builder.AddDotnetProject("api", "Api.csproj", options => options.ExcludeLaunchProfile = true) 637var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 694var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 768builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 805var file = builder.AddDotnetProject("worker", suppliedPath, options => options.ExcludeLaunchProfile = true); 833file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 834project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 838project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 839file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 917var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true) 919var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true) 998options => options.ExcludeLaunchProfile = true) 1043var first = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 1044var second = builder.AddDotnetProject("api-copy", projectPath, options => options.ExcludeLaunchProfile = true); 1057var project = builder.AddDotnetProject("api", "Api.csproj", options => options.ExcludeLaunchProfile = true); 1076builder.AddDotnetProject("first", firstProject, options => options.ExcludeLaunchProfile = true); 1077builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true); 1078builder.AddDotnetProject("first-copy", firstProject, options => options.ExcludeLaunchProfile = true); 1219builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 1260var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 1451var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1453var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1506var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1508builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1530builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1531builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1552var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 1557builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1581builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1582builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1605builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1606builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 1644builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1666var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1697var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 1698var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true); 1754var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1790var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 1830var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 1881var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 1998var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2045var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2101var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2159var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2228var project = builder.AddDotnetProject("broken", projectPath, options => options.ExcludeLaunchProfile = true); 2269var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 2321var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2357var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2397var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2467var api = builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true) 2469var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true); 2496builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2519builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2542var resource = builder.AddDotnetProject("app", appPath, options => options.ExcludeLaunchProfile = true); 2562builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2607var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2736builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2816builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2867builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 2935builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3009var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3064var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true); 3114builder.AddDotnetProject("api", apiPath, options => options.ExcludeLaunchProfile = true); 3115var worker = builder.AddDotnetProject("worker", workerPath, options => options.ExcludeLaunchProfile = true) 3142var project = builder.AddDotnetProject("worker", projectPath, options => options.ExcludeLaunchProfile = true) 3171builder.AddDotnetProject("active", activePath, options => options.ExcludeLaunchProfile = true); 3172var removed = builder.AddDotnetProject("removed", removedPath, options => options.ExcludeLaunchProfile = true); 3195builder.AddDotnetProject("active", activePath, options => options.ExcludeLaunchProfile = true); 3196var replaced = builder.AddDotnetProject("replaced", replacedPath, options => options.ExcludeLaunchProfile = true); 3222var project = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true); 3223var file = builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 3279var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3280var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3338builder.AddDotnetProject("linked", aliasProjectPath, options => options.ExcludeLaunchProfile = true); 3339builder.AddDotnetProject("other", otherProjectPath, options => options.ExcludeLaunchProfile = true); 3421var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3451var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3484var project = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3517builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3518builder.AddDotnetProject("service-copy", projectPath, options => options.ExcludeLaunchProfile = true) 3544builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 3545builder.AddDotnetProject("service-copy", projectPath, options => options.ExcludeLaunchProfile = true) 3547var missing = builder.AddDotnetProject("missing", missingPath, options => options.ExcludeLaunchProfile = true); 3548var removed = builder.AddDotnetProject("removed", removedPath, options => options.ExcludeLaunchProfile = true); 3578builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3579builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3642var first = builder.AddDotnetProject("first", firstPath, options => options.ExcludeLaunchProfile = true); 3643var second = builder.AddDotnetProject("second", secondPath, options => options.ExcludeLaunchProfile = true); 3730builder.AddDotnetProject("api", apiProject, options => options.ExcludeLaunchProfile = true) 3732builder.AddDotnetProject("worker", workerProject, options => options.ExcludeLaunchProfile = true) 3791var resource = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 3848var resource = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true) 3895builder.AddDotnetProject("first", firstProject, options => options.ExcludeLaunchProfile = true) 3897builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true) 3945builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 3946builder.AddDotnetProject("second", secondProject, options => options.ExcludeLaunchProfile = true) 4005builder.AddDotnetProject("valid", validProject, options => options.ExcludeLaunchProfile = true) 4007var missing = builder.AddDotnetProject("missing", missingProject, options => options.ExcludeLaunchProfile = true); 4057options => options.ExcludeLaunchProfile = true); 4114var project = builder.AddDotnetProject("environment-build", projectPath, options => options.ExcludeLaunchProfile = true) 4209var project = builder.AddDotnetProject("persistent-project", projectPath, options => options.ExcludeLaunchProfile = true) 4269var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4270builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4300builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4372var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4416var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4451var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4502var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4503builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4537var project = builder.AddDotnetProject("api", projectPath, options => options.ExcludeLaunchProfile = true); 4538builder.AddDotnetProject("worker", filePath, options => options.ExcludeLaunchProfile = true); 4599builder.AddDotnetProject("environment-build", projectPath, options => options.ExcludeLaunchProfile = true) 4652builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 4653builder.AddDotnetProject("worker", fileApp, options => options.ExcludeLaunchProfile = true) 4716builder.AddDotnetProject("broken", brokenProject, options => options.ExcludeLaunchProfile = true); 4717var worker = builder.AddDotnetProject("worker", fileApp, options => options.ExcludeLaunchProfile = true)
DotnetProjectBuildEnvironmentTests.cs (1)
75options => options.ExcludeLaunchProfile = true);
DotnetProjectFacadeTests.cs (7)
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) 169IResourceBuilder<ProjectResource> legacy = builder.AddProject("legacy", path, options => options.ExcludeLaunchProfile = true)
DotnetProjectLaunchProfileTests.cs (1)
272var resource = builder.AddDotnetProject("service", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPathTests.cs (13)
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); 200var legacy = builder.AddProject("legacy", directory.FullName, options => options.ExcludeLaunchProfile = true); 201var legacyFileApp = builder.AddCSharpApp("legacy-file", directory.FullName, options => options.ExcludeLaunchProfile = true); 203var modern = builder.AddDotnetProject("modern", directory.FullName, options => options.ExcludeLaunchProfile = true); 221var legacy = builder.AddProject("legacy", workspace.Path, 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);
DotnetProjectResourceTests.cs (37)
39var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 55var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 71var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 82var app = builder.AddDotnetProject("svc", "MyService.csproj", o => o.ExcludeLaunchProfile = true); 97var resource = builder.AddDotnetProject("svc", fileBased ? "service.cs" : "Service.csproj", options => options.ExcludeLaunchProfile = true) 129builder.AddDotnetProject("svc", "Service.csproj", options => options.ExcludeLaunchProfile = true) 146var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 172var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 192var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 223var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 239var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 257var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 306? builder.AddCSharpApp("file-app", appPath, options => options.ExcludeLaunchProfile = true) 307: builder.AddDotnetProject("file-app", appPath, options => options.ExcludeLaunchProfile = true); 400var resource = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true) 431builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 456var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 474var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 484var app = builder.AddDotnetProject("appName", "app-path", options => { options.ExcludeLaunchProfile = true; }); 501var project = builder.AddDotnetProject("svc", projectPath, options => options.ExcludeLaunchProfile = true); 571var resource = builder.AddDotnetProject("testapp", projectPath, o => o.ExcludeLaunchProfile = true).Resource; 585var resource = builder.AddDotnetProject("testapp", appPath, o => o.ExcludeLaunchProfile = true).Resource; 624var project = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 647var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 707var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 724var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 797var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 823var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 842var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 877var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 901var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 932var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 963var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 993var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 1022var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 1065var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true) 1156var resource = builder.AddDotnetProject("project", projectPath, options => options.ExcludeLaunchProfile = true)
Helpers\DotnetProjectContractFactory.cs (1)
27options.ExcludeLaunchProfile = launchProfileName is null;
ProjectCustomizationCompatibilityTests.cs (2)
78return builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true); 82return builder.AddProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
ProjectReferenceCompatibilityTests.cs (4)
30source = builder.AddDotnetProject("source", "Source.csproj", options => options.ExcludeLaunchProfile = true); 35source = builder.AddProject("source", "Source.csproj", options => options.ExcludeLaunchProfile = true); 41consumer = builder.AddDotnetProject("consumer", "Consumer.csproj", options => options.ExcludeLaunchProfile = true); 46consumer = builder.AddProject("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 (19)
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 (6)
43.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }) 44: builder.AddDotnetProject("api", startupPath, options => options.ExcludeLaunchProfile = true); 46options => options.ExcludeLaunchProfile = true); 119options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom"); 147options => options.ExcludeLaunchProfile = true).WithBuildEnvironment(_ => { callbackCalls++; }); 182options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom");
EFBuildReadinessTests.cs (1)
96.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true })
EFMigrationConfigurationTests.cs (7)
111? builder.AddDotnetProject("myproject", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true) 113: builder.AddProject<Projects.ServiceA>("myproject", 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) 239: builder.AddProject<Projects.ServiceA>("startup", options => options.ExcludeLaunchProfile = true) 242? builder.AddDotnetProject("target", new Projects.ServiceB().ProjectPath, options => options.ExcludeLaunchProfile = true) 243: builder.AddProject<Projects.ServiceB>("target", options => options.ExcludeLaunchProfile = true);
EFMigrationPipelineTests.cs (1)
35options => options.ExcludeLaunchProfile = true).WithBuildEnvironment(_ => { callbackCalls++; });
EFMigrationResourceTests.cs (2)
37var project = builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true); 66builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
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)
1240var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1282builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1308var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1331builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1353builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1376var project = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true) 1415builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Milvus.Tests (2)
AddMilvusTests.cs (2)
109? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true) 110: appBuilder.AddProject<ProjectA>("projecta", o => o.ExcludeLaunchProfile = true);
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
194? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true) 195: appBuilder.AddProject<ProjectA>("projecta", 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);
Aspire.Hosting.Tests (38)
Dcp\ResourceSnapshotBuilderTests.cs (2)
96var configuredProject = project.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }); 124project.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true });
DistributedApplicationBuilderTests.cs (1)
223var project = appBuilder.AddProject("api", projectPath, options => options.ExcludeLaunchProfile = true);
ProjectRebuilderResourceTests.cs (3)
22var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.ExcludeLaunchProfile = true); 60var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.ExcludeLaunchProfile = true); 91var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.ExcludeLaunchProfile = true);
ProjectResourceBuilderExtensionTests.cs (15)
50var project = builder.AddProject<TestProject>("project", options => options.ExcludeLaunchProfile = true) 70() => executable.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true })); 87var project = builder.AddProject<TestProject>("project", options => options.ExcludeLaunchProfile = true); 105.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }); 120() => project.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true })); 134var project = builder.AddProject<TestProject>("project", options => options.ExcludeLaunchProfile = true); 151var resource = builder.AddProject<TestProject>("test", options => options.ExcludeLaunchProfile = true) 178var resource = builder.AddProject<TestProject>("test", options => options.ExcludeLaunchProfile = true) 203var resource = builder.AddProject<TestProject>("test", options => options.ExcludeLaunchProfile = true) 242project.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }); 330project.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }); 377var resource = builder.AddProject<TestProject>("test", options => options.ExcludeLaunchProfile = true) 417.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }) 454.WithProjectDefaults(new ProjectResourceOptions { ExcludeLaunchProfile = true }) 488var resource = builder.AddProject<TestProject>("test", options => options.ExcludeLaunchProfile = true)
ProjectResourceTests.cs (5)
1030var project = builder.AddProject<TestProject>("projectName", options => { options.ExcludeLaunchProfile = true; }); 1041var project = builder.AddProject("projectName", "another-path", options => { options.ExcludeLaunchProfile = true; }); 1102var app = builder.AddCSharpApp("appName", "app-path", options => { options.ExcludeLaunchProfile = true; }); 1121options => options.ExcludeLaunchProfile = true); 1144builder.AddProject<TestProject>("projectName", 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)
Publishing\ResourceContainerImageManagerTests.cs (2)
69var resource = builder.AddCSharpApp("file-app", appPath, options => options.ExcludeLaunchProfile = true) 113var resource = builder.AddCSharpApp("file-app", appPath, 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)
WithTerminalTests.cs (1)
1458var resource = builder.AddProject<TestProject>("myproj", options => { options.ExcludeLaunchProfile = true; });
ProxylessEndToEnd.AppHost (1)
AppHost.cs (1)
19builder.AddDotnetProject("api2", "../ProxylessEndToEnd.ApiService/ProxylessEndToEnd.ApiService.csproj", options => options.ExcludeLaunchProfile = true)
Stress.AppHost (3)
AppHost.cs (3)
27builder.AddDotnetProject("manual-project-args", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true) 69var serviceBuilder = builder.AddDotnetProject("stress-apiservice", "../Stress.ApiService/Stress.ApiService.csproj", options => options.ExcludeLaunchProfile = true) 137var resourceBuilder = builder.AddDotnetProject($"empty-{i:0000}", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true)
4 references to ExcludeLaunchProfile
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (3)
485target.ExcludeLaunchProfile = source.ExcludeLaunchProfile; 694if (options.ExcludeLaunchProfile) 712var effectiveLaunchProfile = options.ExcludeLaunchProfile ? null : projectResource.GetEffectiveLaunchProfile(throwIfNotFound: true);
Aspire.Hosting.Dotnet (1)
DotnetProjectHostingExtensions.cs (1)
501|| options.ExcludeLaunchProfile