375 writes to ExcludeLaunchProfile
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (3)
196
options.
ExcludeLaunchProfile
= launchProfileName is null;
241
options.
ExcludeLaunchProfile
= launchProfileName is null;
485
target.
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);
1909
nameof(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)
34
var 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)
48
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
164
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
190
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
215
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
238
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
266
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
291
var target = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
313
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
438
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
845
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1053
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1094
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1146
var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true);
1213
var target = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true);
1240
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1264
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1333
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1364
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1626
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
1651
var backend = builder.AddDotnetProject("catalog-backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
2185
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
2729
var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureApplicationInsightsExtensionsTests.cs (1)
93
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.
ExcludeLaunchProfile
= true)
AzureAppServiceTests.cs (1)
88
var project = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureContainerAppExpressEndpointTests.cs (2)
29
var api = builder.AddProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
34
var web = builder.AddProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureContainerAppExpressTests.cs (2)
215
var project = builder.AddProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
245
var project = builder.AddProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureContainerAppsTests.cs (1)
150
var project = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureFrontDoorAppServicePrivateLinkTests.cs (1)
200
builder.AddDotnetProject(name, "project.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureFrontDoorPrivateLinkTests.cs (28)
26
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
29
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
52
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
71
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
112
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
116
var publicApi = builder.AddDotnetProject("public-api", "public-api.csproj", options => options.
ExcludeLaunchProfile
= true)
142
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
145
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
171
var privateApi = builder.AddDotnetProject("private-api", "private-api.csproj", options => options.
ExcludeLaunchProfile
= true)
175
var publicApi = builder.AddDotnetProject("public-api", "public-api.csproj", options => options.
ExcludeLaunchProfile
= true)
202
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
205
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
233
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
237
var admin = builder.AddDotnetProject("admin", "admin.csproj", options => options.
ExcludeLaunchProfile
= true)
241
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
268
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
271
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
295
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
317
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
339
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
439
var westApi = builder.AddDotnetProject("west-api", "west-api.csproj", options => options.
ExcludeLaunchProfile
= true)
443
var eastApi = builder.AddDotnetProject("east-api", "east-api.csproj", options => options.
ExcludeLaunchProfile
= true)
469
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
498
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
502
var web = builder.AddDotnetProject("web", "web.csproj", options => options.
ExcludeLaunchProfile
= true)
531
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
535
var middle = builder.AddDotnetProject("middle", "middle.csproj", options => options.
ExcludeLaunchProfile
= true)
539
var 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)
2788
var project = builder.AddDotnetProject("frontend", "frontend.csproj", options => options.
ExcludeLaunchProfile
= true)
AzureWebPubSubExtensionsTests.cs (3)
118
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.
ExcludeLaunchProfile
= true).WithHttpsEndpoint();
149
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.
ExcludeLaunchProfile
= true).WithHttpsEndpoint();
222
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.
ExcludeLaunchProfile
= true).WithHttpsEndpoint();
PublicApiTests\AppContainersPublicApiTests.cs (1)
106
var project = builder.AddProject<ProjectA>("serviceA", o => o.
ExcludeLaunchProfile
= true);
Aspire.Hosting.Blazor.Tests (8)
AddDotnetProjectBlazorGatewayTests.cs (1)
42
var 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)
173
var host = builder.AddProject("blazorapp", serverProjectPath, options => options.
ExcludeLaunchProfile
= true)
215
var host = builder.AddProject("blazorapp", serverProjectPath, options => options.
ExcludeLaunchProfile
= true)
255
var host = builder.AddProject("blazorapp", serverProjectPath, options => options.
ExcludeLaunchProfile
= true)
287
var host = builder.AddProject("blazorapp", serverProjectPath, options => options.
ExcludeLaunchProfile
= true)
326
builder.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)
362
var api = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true);
363
builder.AddDotnetProject("worker", "worker.csproj", options => options.
ExcludeLaunchProfile
= true)
DockerComposeTests.cs (1)
116
builder.AddDotnetProject("ServiceA", new Projects.ServiceA().ProjectPath, options => options.
ExcludeLaunchProfile
= true)
Aspire.Hosting.Dotnet (1)
DotnetProjectHostingExtensions.cs (1)
546
target.
ExcludeLaunchProfile
= source.ExcludeLaunchProfile;
Aspire.Hosting.Dotnet.Tests (204)
DotnetProjectBuildCoordinatorTests.cs (134)
52
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
112
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
154
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
214
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
273
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
296
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
360
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true)
391
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
433
fileApp = builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
434
project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
438
project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
439
fileApp = builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
480
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
510
var worker = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
511
var terminal = builder.AddDotnetProject("terminal", projectPath, options => options.
ExcludeLaunchProfile
= true);
538
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
564
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
584
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
608
var project = builder.AddDotnetProject("api", "Api.csproj", options => options.
ExcludeLaunchProfile
= true)
637
var file = builder.AddDotnetProject("worker", suppliedPath, options => options.
ExcludeLaunchProfile
= true);
694
var file = builder.AddDotnetProject("worker", suppliedPath, options => options.
ExcludeLaunchProfile
= true);
768
builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
805
var file = builder.AddDotnetProject("worker", suppliedPath, options => options.
ExcludeLaunchProfile
= true);
833
file = builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
834
project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
838
project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
839
file = builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
917
var first = builder.AddDotnetProject("first", firstPath, options => options.
ExcludeLaunchProfile
= true)
919
var second = builder.AddDotnetProject("second", secondPath, options => options.
ExcludeLaunchProfile
= true)
998
options => options.
ExcludeLaunchProfile
= true)
1043
var first = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
1044
var second = builder.AddDotnetProject("api-copy", projectPath, options => options.
ExcludeLaunchProfile
= true);
1057
var project = builder.AddDotnetProject("api", "Api.csproj", options => options.
ExcludeLaunchProfile
= true);
1076
builder.AddDotnetProject("first", firstProject, options => options.
ExcludeLaunchProfile
= true);
1077
builder.AddDotnetProject("second", secondProject, options => options.
ExcludeLaunchProfile
= true);
1078
builder.AddDotnetProject("first-copy", firstProject, options => options.
ExcludeLaunchProfile
= true);
1219
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
1260
var project = builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
1451
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true)
1453
var worker = builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1506
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true)
1508
builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1530
builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
1531
builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1552
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true)
1557
builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1581
builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
1582
builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1605
builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
1606
builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
1644
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
1666
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
1697
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
1698
var worker = builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true);
1754
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
1790
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
1830
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
1881
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
1998
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
2045
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
2101
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
2159
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
2228
var project = builder.AddDotnetProject("broken", projectPath, options => options.
ExcludeLaunchProfile
= true);
2269
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
2321
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2357
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2397
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2467
var api = builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true)
2469
var worker = builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true);
2496
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2519
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2542
var resource = builder.AddDotnetProject("app", appPath, options => options.
ExcludeLaunchProfile
= true);
2562
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2607
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2736
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2816
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2867
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
2935
builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
3009
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
3064
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true);
3114
builder.AddDotnetProject("api", apiPath, options => options.
ExcludeLaunchProfile
= true);
3115
var worker = builder.AddDotnetProject("worker", workerPath, options => options.
ExcludeLaunchProfile
= true)
3142
var project = builder.AddDotnetProject("worker", projectPath, options => options.
ExcludeLaunchProfile
= true)
3171
builder.AddDotnetProject("active", activePath, options => options.
ExcludeLaunchProfile
= true);
3172
var removed = builder.AddDotnetProject("removed", removedPath, options => options.
ExcludeLaunchProfile
= true);
3195
builder.AddDotnetProject("active", activePath, options => options.
ExcludeLaunchProfile
= true);
3196
var replaced = builder.AddDotnetProject("replaced", replacedPath, options => options.
ExcludeLaunchProfile
= true);
3222
var project = builder.AddDotnetProject("project", projectPath, options => options.
ExcludeLaunchProfile
= true);
3223
var file = builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
3279
var first = builder.AddDotnetProject("first", firstPath, options => options.
ExcludeLaunchProfile
= true);
3280
var second = builder.AddDotnetProject("second", secondPath, options => options.
ExcludeLaunchProfile
= true);
3338
builder.AddDotnetProject("linked", aliasProjectPath, options => options.
ExcludeLaunchProfile
= true);
3339
builder.AddDotnetProject("other", otherProjectPath, options => options.
ExcludeLaunchProfile
= true);
3421
var project = builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
3451
var project = builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
3484
var project = builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
3517
builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
3518
builder.AddDotnetProject("service-copy", projectPath, options => options.
ExcludeLaunchProfile
= true)
3544
builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
3545
builder.AddDotnetProject("service-copy", projectPath, options => options.
ExcludeLaunchProfile
= true)
3547
var missing = builder.AddDotnetProject("missing", missingPath, options => options.
ExcludeLaunchProfile
= true);
3548
var removed = builder.AddDotnetProject("removed", removedPath, options => options.
ExcludeLaunchProfile
= true);
3578
builder.AddDotnetProject("first", firstPath, options => options.
ExcludeLaunchProfile
= true);
3579
builder.AddDotnetProject("second", secondPath, options => options.
ExcludeLaunchProfile
= true);
3642
var first = builder.AddDotnetProject("first", firstPath, options => options.
ExcludeLaunchProfile
= true);
3643
var second = builder.AddDotnetProject("second", secondPath, options => options.
ExcludeLaunchProfile
= true);
3730
builder.AddDotnetProject("api", apiProject, options => options.
ExcludeLaunchProfile
= true)
3732
builder.AddDotnetProject("worker", workerProject, options => options.
ExcludeLaunchProfile
= true)
3791
var resource = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true)
3848
var resource = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true)
3895
builder.AddDotnetProject("first", firstProject, options => options.
ExcludeLaunchProfile
= true)
3897
builder.AddDotnetProject("second", secondProject, options => options.
ExcludeLaunchProfile
= true)
3945
builder.AddDotnetProject("broken", brokenProject, options => options.
ExcludeLaunchProfile
= true);
3946
builder.AddDotnetProject("second", secondProject, options => options.
ExcludeLaunchProfile
= true)
4005
builder.AddDotnetProject("valid", validProject, options => options.
ExcludeLaunchProfile
= true)
4007
var missing = builder.AddDotnetProject("missing", missingProject, options => options.
ExcludeLaunchProfile
= true);
4057
options => options.
ExcludeLaunchProfile
= true);
4114
var project = builder.AddDotnetProject("environment-build", projectPath, options => options.
ExcludeLaunchProfile
= true)
4209
var project = builder.AddDotnetProject("persistent-project", projectPath, options => options.
ExcludeLaunchProfile
= true)
4269
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4270
builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
4300
builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4372
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4416
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4451
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4502
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4503
builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
4537
var project = builder.AddDotnetProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
4538
builder.AddDotnetProject("worker", filePath, options => options.
ExcludeLaunchProfile
= true);
4599
builder.AddDotnetProject("environment-build", projectPath, options => options.
ExcludeLaunchProfile
= true)
4652
builder.AddDotnetProject("broken", brokenProject, options => options.
ExcludeLaunchProfile
= true);
4653
builder.AddDotnetProject("worker", fileApp, options => options.
ExcludeLaunchProfile
= true)
4716
builder.AddDotnetProject("broken", brokenProject, options => options.
ExcludeLaunchProfile
= true);
4717
var worker = builder.AddDotnetProject("worker", fileApp, options => options.
ExcludeLaunchProfile
= true)
DotnetProjectBuildEnvironmentTests.cs (1)
75
options => options.
ExcludeLaunchProfile
= true);
DotnetProjectFacadeTests.cs (7)
18
var resource = builder.AddDotnetProject("service", "Service.fsproj", options => options.
ExcludeLaunchProfile
= true);
99
var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.
ExcludeLaunchProfile
= true);
109
var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.
ExcludeLaunchProfile
= true)
142
var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.
ExcludeLaunchProfile
= true);
163
var disabled = builder.AddDotnetProject("disabled", path, options => options.
ExcludeLaunchProfile
= true)
166
var enabled = builder.AddDotnetProject("enabled", path, options => options.
ExcludeLaunchProfile
= true)
169
IResourceBuilder<ProjectResource> legacy = builder.AddProject("legacy", path, options => options.
ExcludeLaunchProfile
= true)
DotnetProjectLaunchProfileTests.cs (1)
272
var resource = builder.AddDotnetProject("service", path, options => options.
ExcludeLaunchProfile
= true);
DotnetProjectPathTests.cs (13)
29
var resource = builder.AddDotnetProject("service", projectPath, options => options.
ExcludeLaunchProfile
= true);
30
var relativeResource = builder.AddDotnetProject("relative", Path.GetFileName(projectPath), options => options.
ExcludeLaunchProfile
= true);
66
var absolute = builder.AddDotnetProject("absolute", directory.FullName, options => options.
ExcludeLaunchProfile
= true);
67
var relative = builder.AddDotnetProject("relative", "Service", options => options.
ExcludeLaunchProfile
= true);
98
var resource = builder.AddDotnetProject("service", "", options => options.
ExcludeLaunchProfile
= true);
130
var resource = builder.AddDotnetProject("service", directory.FullName, options => options.
ExcludeLaunchProfile
= true);
166
var resource = builder.AddDotnetProject("service", path, options => options.
ExcludeLaunchProfile
= true);
200
var legacy = builder.AddProject("legacy", directory.FullName, options => options.
ExcludeLaunchProfile
= true);
201
var legacyFileApp = builder.AddCSharpApp("legacy-file", directory.FullName, options => options.
ExcludeLaunchProfile
= true);
203
var modern = builder.AddDotnetProject("modern", directory.FullName, options => options.
ExcludeLaunchProfile
= true);
221
var legacy = builder.AddProject("legacy", workspace.Path, options => options.
ExcludeLaunchProfile
= true);
223
var modern = builder.AddDotnetProject("modern", workspace.Path, options => options.
ExcludeLaunchProfile
= true);
334
var excluded = builder.AddDotnetProject("excluded", path, options => options.
ExcludeLaunchProfile
= true);
DotnetProjectResourceTests.cs (37)
39
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
55
var app = builder.AddDotnetProject("svc", appPath, o => o.
ExcludeLaunchProfile
= true);
71
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
82
var app = builder.AddDotnetProject("svc", "MyService.csproj", o => o.
ExcludeLaunchProfile
= true);
97
var resource = builder.AddDotnetProject("svc", fileBased ? "service.cs" : "Service.csproj", options => options.
ExcludeLaunchProfile
= true)
129
builder.AddDotnetProject("svc", "Service.csproj", options => options.
ExcludeLaunchProfile
= true)
146
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
172
var app = builder.AddDotnetProject("svc", appPath, o => o.
ExcludeLaunchProfile
= true);
192
var resource = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
223
var resource = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
239
var resource = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
257
var 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);
400
var resource = builder.AddDotnetProject("project", projectPath, options => options.
ExcludeLaunchProfile
= true)
431
builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
456
var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.
ExcludeLaunchProfile
= true);
474
var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.
ExcludeLaunchProfile
= true);
484
var app = builder.AddDotnetProject("appName", "app-path", options => { options.
ExcludeLaunchProfile
= true; });
501
var project = builder.AddDotnetProject("svc", projectPath, options => options.
ExcludeLaunchProfile
= true);
571
var resource = builder.AddDotnetProject("testapp", projectPath, o => o.
ExcludeLaunchProfile
= true).Resource;
585
var resource = builder.AddDotnetProject("testapp", appPath, o => o.
ExcludeLaunchProfile
= true).Resource;
624
var project = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
647
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true);
707
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
724
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
797
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
823
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
842
var app = builder.AddDotnetProject("svc", appPath, o => o.
ExcludeLaunchProfile
= true)
877
var app = builder.AddDotnetProject("svc", appPath, o => o.
ExcludeLaunchProfile
= true)
901
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
932
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
963
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
993
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
1022
var app = builder.AddDotnetProject("svc", projectPath, o => o.
ExcludeLaunchProfile
= true)
1065
var app = builder.AddDotnetProject("svc", appPath, o => o.
ExcludeLaunchProfile
= true)
1156
var resource = builder.AddDotnetProject("project", projectPath, options => options.
ExcludeLaunchProfile
= true)
Helpers\DotnetProjectContractFactory.cs (1)
27
options.
ExcludeLaunchProfile
= launchProfileName is null;
ProjectCustomizationCompatibilityTests.cs (2)
78
return builder.AddDotnetProject("project", "Service.csproj", options => options.
ExcludeLaunchProfile
= true);
82
return builder.AddProject("project", "Service.csproj", options => options.
ExcludeLaunchProfile
= true);
ProjectReferenceCompatibilityTests.cs (4)
30
source = builder.AddDotnetProject("source", "Source.csproj", options => options.
ExcludeLaunchProfile
= true);
35
source = builder.AddProject("source", "Source.csproj", options => options.
ExcludeLaunchProfile
= true);
41
consumer = builder.AddDotnetProject("consumer", "Consumer.csproj", options => options.
ExcludeLaunchProfile
= true);
46
consumer = builder.AddProject("consumer", "Consumer.csproj", options => options.
ExcludeLaunchProfile
= true);
WslcDotnetPublishingTests.cs (4)
32
var resource = builder.AddDotnetProject("program", "program.csproj", options => options.
ExcludeLaunchProfile
= true)
55
var resource = builder.AddDotnetProject("program", "program.csproj", options => options.
ExcludeLaunchProfile
= true)
86
var resource = builder.AddDotnetProject("program", "program.csproj", options => options.
ExcludeLaunchProfile
= true)
130
var resource = builder.AddDotnetProject("program", "program.csproj", options => options.
ExcludeLaunchProfile
= true)
Aspire.Hosting.EntityFrameworkCore.Tests (19)
AddEFMigrationsTests.cs (2)
92
var project = builder.AddDotnetProject("myproject", "MyProject.csproj", options => options.
ExcludeLaunchProfile
= true);
108
var 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);
46
options => options.
ExcludeLaunchProfile
= true);
119
options => options.
ExcludeLaunchProfile
= true).WithBuildEnvironment("BUILD_FLAVOR", "custom");
147
options => options.
ExcludeLaunchProfile
= true).WithBuildEnvironment(_ => { callbackCalls++; });
182
options => 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)
219
var 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)
35
options => options.
ExcludeLaunchProfile
= true).WithBuildEnvironment(_ => { callbackCalls++; });
EFMigrationResourceTests.cs (2)
37
var project = builder.AddDotnetProject("project", "Service.csproj", options => options.
ExcludeLaunchProfile
= true);
66
builder.AddDotnetProject("project", "Service.csproj", options => options.
ExcludeLaunchProfile
= true);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
446
var 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)
1240
var project = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1282
builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1308
var project = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1331
builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1353
builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1376
var project = builder.AddDotnetProject("api", "api.csproj", options => options.
ExcludeLaunchProfile
= true)
1415
builder.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)
102
builder.AddDotnetProject("webapp", "webapp.csproj", options => options.
ExcludeLaunchProfile
= true);
Publishing\BicepGenerationSimpleTests.cs (1)
183
builder.AddDotnetProject("webapp", "webapp.csproj", options => options.
ExcludeLaunchProfile
= true);
RadiusExtensionsTests.cs (2)
187
? builder.AddDotnetProject("webapp", "webapp.csproj", options => options.
ExcludeLaunchProfile
= true)
205
var project = builder.AddDotnetProject("webapp", "webapp.csproj", options => options.
ExcludeLaunchProfile
= true);
Aspire.Hosting.Tests (38)
Dcp\ResourceSnapshotBuilderTests.cs (2)
96
var configuredProject = project.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true });
124
project.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true });
DistributedApplicationBuilderTests.cs (1)
223
var project = appBuilder.AddProject("api", projectPath, options => options.
ExcludeLaunchProfile
= true);
ProjectRebuilderResourceTests.cs (3)
22
var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.
ExcludeLaunchProfile
= true);
60
var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.
ExcludeLaunchProfile
= true);
91
var project = builder.AddProject<Projects.ServiceA>("servicea", options => options.
ExcludeLaunchProfile
= true);
ProjectResourceBuilderExtensionTests.cs (15)
50
var project = builder.AddProject<TestProject>("project", options => options.
ExcludeLaunchProfile
= true)
70
() => executable.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true }));
87
var project = builder.AddProject<TestProject>("project", options => options.
ExcludeLaunchProfile
= true);
105
.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true });
120
() => project.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true }));
134
var project = builder.AddProject<TestProject>("project", options => options.
ExcludeLaunchProfile
= true);
151
var resource = builder.AddProject<TestProject>("test", options => options.
ExcludeLaunchProfile
= true)
178
var resource = builder.AddProject<TestProject>("test", options => options.
ExcludeLaunchProfile
= true)
203
var resource = builder.AddProject<TestProject>("test", options => options.
ExcludeLaunchProfile
= true)
242
project.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true });
330
project.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true });
377
var resource = builder.AddProject<TestProject>("test", options => options.
ExcludeLaunchProfile
= true)
417
.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true })
454
.WithProjectDefaults(new ProjectResourceOptions {
ExcludeLaunchProfile
= true })
488
var resource = builder.AddProject<TestProject>("test", options => options.
ExcludeLaunchProfile
= true)
ProjectResourceTests.cs (5)
1030
var project = builder.AddProject<TestProject>("projectName", options => { options.
ExcludeLaunchProfile
= true; });
1041
var project = builder.AddProject("projectName", "another-path", options => { options.
ExcludeLaunchProfile
= true; });
1102
var app = builder.AddCSharpApp("appName", "app-path", options => { options.
ExcludeLaunchProfile
= true; });
1121
options => options.
ExcludeLaunchProfile
= true);
1144
builder.AddProject<TestProject>("projectName", options => { options.
ExcludeLaunchProfile
= true; });
PublishAsDockerfileTests.cs (6)
221
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
278
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
297
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
319
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
422
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
443
var project = builder.AddProject("project", projectPath, o => o.
ExcludeLaunchProfile
= true)
Publishing\DotnetProgramArchiveTests.cs (1)
382
return builder.AddProject("program", Path.Combine(workspacePath, "program.csproj"), static options => options.
ExcludeLaunchProfile
= true)
Publishing\ResourceContainerImageManagerTests.cs (2)
69
var resource = builder.AddCSharpApp("file-app", appPath, options => options.
ExcludeLaunchProfile
= true)
113
var resource = builder.AddCSharpApp("file-app", appPath, options => options.
ExcludeLaunchProfile
= true)
ResourceCommandServiceTests.cs (2)
1749
var project = builder.AddProject("myProject", projectPath, options => options.
ExcludeLaunchProfile
= true);
1799
var project = builder.AddProject("myProject", projectPath, options => options.
ExcludeLaunchProfile
= true)
WithTerminalTests.cs (1)
1458
var resource = builder.AddProject<TestProject>("myproj", options => { options.
ExcludeLaunchProfile
= true; });
ProxylessEndToEnd.AppHost (1)
AppHost.cs (1)
19
builder.AddDotnetProject("api2", "../ProxylessEndToEnd.ApiService/ProxylessEndToEnd.ApiService.csproj", options => options.
ExcludeLaunchProfile
= true)
Stress.AppHost (3)
AppHost.cs (3)
27
builder.AddDotnetProject("manual-project-args", "../Stress.Empty/Stress.Empty.csproj", options => options.
ExcludeLaunchProfile
= true)
69
var serviceBuilder = builder.AddDotnetProject("stress-apiservice", "../Stress.ApiService/Stress.ApiService.csproj", options => options.
ExcludeLaunchProfile
= true)
137
var 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)
485
target.ExcludeLaunchProfile = source.
ExcludeLaunchProfile
;
694
if (options.
ExcludeLaunchProfile
)
712
var effectiveLaunchProfile = options.
ExcludeLaunchProfile
? null : projectResource.GetEffectiveLaunchProfile(throwIfNotFound: true);
Aspire.Hosting.Dotnet (1)
DotnetProjectHostingExtensions.cs (1)
501
|| options.
ExcludeLaunchProfile