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)
1908
nameof(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)
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 (56)
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)
272
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
295
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
323
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
348
var target = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
370
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
495
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
902
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1110
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1151
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1203
var target = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true);
1270
var target = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true);
1297
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1321
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1390
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1421
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1683
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
1708
var backend = builder.
AddDotnetProject
("catalog-backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
2242
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
2786
var backend = builder.
AddDotnetProject
("backend", "project.csproj", options => options.ExcludeLaunchProfile = true)
AzureAppServiceTests.cs (1)
89
var project = builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
AzureContainerAppsTests.cs (1)
149
var project = builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
AzureFrontDoorAppServicePrivateLinkTests.cs (1)
201
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)
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)
2788
var project = builder.
AddDotnetProject
("frontend", "frontend.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Blazor.Tests (3)
AddDotnetProjectBlazorGatewayTests.cs (1)
42
var 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)
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)
115
builder.
AddDotnetProject
("ServiceA", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
311
return 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)
60
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
120
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
162
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
222
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
285
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
308
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
372
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true)
403
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
445
fileApp = builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
446
project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
450
project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
451
fileApp = builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
492
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
522
var worker = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
523
var terminal = builder.
AddDotnetProject
("terminal", projectPath, options => options.ExcludeLaunchProfile = true);
550
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
576
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
596
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
620
var project = builder.
AddDotnetProject
("api", "Api.csproj", options => options.ExcludeLaunchProfile = true)
649
var file = builder.
AddDotnetProject
("worker", suppliedPath, options => options.ExcludeLaunchProfile = true);
706
var file = builder.
AddDotnetProject
("worker", suppliedPath, options => options.ExcludeLaunchProfile = true);
780
builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
817
var file = builder.
AddDotnetProject
("worker", suppliedPath, options => options.ExcludeLaunchProfile = true);
845
file = builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
846
project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
850
project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
851
file = builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
929
var first = builder.
AddDotnetProject
("first", firstPath, options => options.ExcludeLaunchProfile = true)
931
var second = builder.
AddDotnetProject
("second", secondPath, options => options.ExcludeLaunchProfile = true)
1007
var resource = builder.
AddDotnetProject
(
1055
var first = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
1056
var second = builder.
AddDotnetProject
("api-copy", projectPath, options => options.ExcludeLaunchProfile = true);
1069
var project = builder.
AddDotnetProject
("api", "Api.csproj", options => options.ExcludeLaunchProfile = true)
1101
builder.
AddDotnetProject
("first", firstProject, options => options.ExcludeLaunchProfile = true);
1102
builder.
AddDotnetProject
("second", secondProject, options => options.ExcludeLaunchProfile = true);
1103
builder.
AddDotnetProject
("first-copy", firstProject, options => options.ExcludeLaunchProfile = true);
1244
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
1285
var project = builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
1476
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true)
1478
var worker = builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1531
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
1619
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true)
1621
builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1643
builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
1644
builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1665
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true)
1670
builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1694
builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
1695
builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1718
builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
1719
builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
1757
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
1779
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
1810
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
1811
var worker = builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true);
1867
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
1903
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
1943
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
1994
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2111
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
2158
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
2214
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
2272
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
2341
var project = builder.
AddDotnetProject
("broken", projectPath, options => options.ExcludeLaunchProfile = true);
2382
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
2434
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2470
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2510
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2580
var api = builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true)
2582
var worker = builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true);
2609
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2632
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2655
var resource = builder.
AddDotnetProject
("app", appPath, options => options.ExcludeLaunchProfile = true);
2675
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2720
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2849
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2929
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
2980
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
3048
builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
3122
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
3177
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true);
3227
builder.
AddDotnetProject
("api", apiPath, options => options.ExcludeLaunchProfile = true);
3228
var worker = builder.
AddDotnetProject
("worker", workerPath, options => options.ExcludeLaunchProfile = true)
3255
var project = builder.
AddDotnetProject
("worker", projectPath, options => options.ExcludeLaunchProfile = true)
3284
builder.
AddDotnetProject
("active", activePath, options => options.ExcludeLaunchProfile = true);
3285
var removed = builder.
AddDotnetProject
("removed", removedPath, options => options.ExcludeLaunchProfile = true);
3308
builder.
AddDotnetProject
("active", activePath, options => options.ExcludeLaunchProfile = true);
3309
var replaced = builder.
AddDotnetProject
("replaced", replacedPath, options => options.ExcludeLaunchProfile = true);
3335
var project = builder.
AddDotnetProject
("project", projectPath, options => options.ExcludeLaunchProfile = true);
3336
var file = builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
3392
var first = builder.
AddDotnetProject
("first", firstPath, options => options.ExcludeLaunchProfile = true);
3393
var second = builder.
AddDotnetProject
("second", secondPath, options => options.ExcludeLaunchProfile = true);
3451
builder.
AddDotnetProject
("linked", aliasProjectPath, options => options.ExcludeLaunchProfile = true);
3452
builder.
AddDotnetProject
("other", otherProjectPath, options => options.ExcludeLaunchProfile = true);
3534
var project = builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
3564
var project = builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
3597
var project = builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
3630
builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
3631
builder.
AddDotnetProject
("service-copy", projectPath, options => options.ExcludeLaunchProfile = true)
3657
builder.
AddDotnetProject
("service", projectPath, options => options.ExcludeLaunchProfile = true);
3658
builder.
AddDotnetProject
("service-copy", projectPath, options => options.ExcludeLaunchProfile = true)
3660
var missing = builder.
AddDotnetProject
("missing", missingPath, options => options.ExcludeLaunchProfile = true);
3661
var removed = builder.
AddDotnetProject
("removed", removedPath, options => options.ExcludeLaunchProfile = true);
3691
builder.
AddDotnetProject
("first", firstPath, options => options.ExcludeLaunchProfile = true);
3692
builder.
AddDotnetProject
("second", secondPath, options => options.ExcludeLaunchProfile = true);
3755
var first = builder.
AddDotnetProject
("first", firstPath, options => options.ExcludeLaunchProfile = true);
3756
var second = builder.
AddDotnetProject
("second", secondPath, options => options.ExcludeLaunchProfile = true);
3843
builder.
AddDotnetProject
("api", apiProject, options => options.ExcludeLaunchProfile = true)
3845
builder.
AddDotnetProject
("worker", workerProject, options => options.ExcludeLaunchProfile = true)
3904
var resource = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true)
3961
var resource = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true)
4010
builder.
AddDotnetProject
("first", firstProject, options => options.ExcludeLaunchProfile = true)
4012
builder.
AddDotnetProject
("second", secondProject, options => options.ExcludeLaunchProfile = true)
4087
builder.
AddDotnetProject
("worker", project, options => options.ExcludeLaunchProfile = true)
4129
builder.
AddDotnetProject
("broken", brokenProject, options => options.ExcludeLaunchProfile = true);
4130
builder.
AddDotnetProject
("second", secondProject, options => options.ExcludeLaunchProfile = true)
4189
builder.
AddDotnetProject
("valid", validProject, options => options.ExcludeLaunchProfile = true)
4191
var missing = builder.
AddDotnetProject
("missing", missingProject, options => options.ExcludeLaunchProfile = true);
4238
var missing = builder.
AddDotnetProject
(
4298
var project = builder.
AddDotnetProject
("environment-build", projectPath, options => options.ExcludeLaunchProfile = true)
4392
var project = builder.
AddDotnetProject
("persistent-project", projectPath, options => options.ExcludeLaunchProfile = true)
4451
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4452
builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
4482
builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4554
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4598
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4633
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4684
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4685
builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
4719
var project = builder.
AddDotnetProject
("api", projectPath, options => options.ExcludeLaunchProfile = true);
4720
builder.
AddDotnetProject
("worker", filePath, options => options.ExcludeLaunchProfile = true);
4781
builder.
AddDotnetProject
("environment-build", projectPath, options => options.ExcludeLaunchProfile = true)
4834
builder.
AddDotnetProject
("broken", brokenProject, options => options.ExcludeLaunchProfile = true);
4835
builder.
AddDotnetProject
("worker", fileApp, options => options.ExcludeLaunchProfile = true)
4898
builder.
AddDotnetProject
("broken", brokenProject, options => options.ExcludeLaunchProfile = true);
4899
var worker = builder.
AddDotnetProject
("worker", fileApp, options => options.ExcludeLaunchProfile = true)
DotnetProjectBuildEnvironmentTests.cs (1)
71
var project = builder.
AddDotnetProject
(
DotnetProjectFacadeTests.cs (6)
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)
DotnetProjectLaunchProfileTests.cs (2)
156
builder.
AddDotnetProject
("service", path, options => options.LaunchProfileName = "Properties-second"));
272
var resource = builder.
AddDotnetProject
("service", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPathTests.cs (10)
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);
203
var modern = builder.
AddDotnetProject
("modern", directory.FullName, 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);
DotnetProjectPublicApiTests.cs (1)
89
var action = () => builder.
AddDotnetProject
("app", "app.csproj", configure: null!);
DotnetProjectResourceTests.cs (36)
41
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
57
var app = builder.
AddDotnetProject
("svc", appPath, o => o.ExcludeLaunchProfile = true);
73
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
84
var app = builder.
AddDotnetProject
("svc", "MyService.csproj", o => o.ExcludeLaunchProfile = true);
99
var resource = builder.
AddDotnetProject
("svc", fileBased ? "service.cs" : "Service.csproj", options => options.ExcludeLaunchProfile = true)
131
builder.
AddDotnetProject
("svc", "Service.csproj", options => options.ExcludeLaunchProfile = true)
148
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
174
var app = builder.
AddDotnetProject
("svc", appPath, o => o.ExcludeLaunchProfile = true);
194
var resource = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
225
var resource = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
241
var resource = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
259
var resource = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
309
: builder.
AddDotnetProject
("file-app", appPath, options => options.ExcludeLaunchProfile = true);
402
var resource = builder.
AddDotnetProject
("project", projectPath, options => options.ExcludeLaunchProfile = true)
433
builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
458
var app = builder.
AddDotnetProject
("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true);
476
var app = builder.
AddDotnetProject
("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true);
486
var app = builder.
AddDotnetProject
("appName", "app-path", options => { options.ExcludeLaunchProfile = true; });
503
var project = builder.
AddDotnetProject
("svc", projectPath, options => options.ExcludeLaunchProfile = true);
573
var resource = builder.
AddDotnetProject
("testapp", projectPath, o => o.ExcludeLaunchProfile = true).Resource;
587
var resource = builder.
AddDotnetProject
("testapp", appPath, o => o.ExcludeLaunchProfile = true).Resource;
626
var project = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
649
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true);
709
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
726
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
799
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
825
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
844
var app = builder.
AddDotnetProject
("svc", appPath, o => o.ExcludeLaunchProfile = true)
879
var app = builder.
AddDotnetProject
("svc", appPath, o => o.ExcludeLaunchProfile = true)
903
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
934
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
965
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
995
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
1024
var app = builder.
AddDotnetProject
("svc", projectPath, o => o.ExcludeLaunchProfile = true)
1067
var app = builder.
AddDotnetProject
("svc", appPath, o => o.ExcludeLaunchProfile = true)
1158
var resource = builder.
AddDotnetProject
("project", projectPath, options => options.ExcludeLaunchProfile = true)
Helpers\DotnetProjectContractFactory.cs (1)
25
return builder.
AddDotnetProject
(name, GetProjectPath<TProject>(name), options =>
ProjectCustomizationCompatibilityTests.cs (1)
78
return builder.
AddDotnetProject
("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
ProjectReferenceCompatibilityTests.cs (2)
30
source = builder.
AddDotnetProject
("source", "Source.csproj", options => options.ExcludeLaunchProfile = true);
41
consumer = builder.
AddDotnetProject
("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 (15)
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 (5)
44
: builder.
AddDotnetProject
("api", startupPath, options => options.ExcludeLaunchProfile = true);
45
var target = builder.
AddDotnetProject
("target", new Projects.ServiceB().ProjectPath,
118
var startup = builder.
AddDotnetProject
("api", new Projects.ServiceA().ProjectPath,
146
var startup = builder.
AddDotnetProject
("api", new Projects.ServiceA().ProjectPath,
181
var startup = builder.
AddDotnetProject
("api", new Projects.ServiceA().ProjectPath,
EFMigrationConfigurationTests.cs (4)
111
? builder.
AddDotnetProject
("myproject", new Projects.ServiceA().ProjectPath, 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)
242
? builder.
AddDotnetProject
("target", new Projects.ServiceB().ProjectPath, options => options.ExcludeLaunchProfile = true)
EFMigrationPipelineTests.cs (1)
34
var project = builder.
AddDotnetProject
("api", new Projects.ServiceA().ProjectPath,
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);
EFMigrationToolConfigurationTests.cs (1)
18
var project = builder.
AddDotnetProject
(
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)
1656
var project = builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1698
builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1724
var project = builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1747
builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1769
builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1792
var project = builder.
AddDotnetProject
("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
1831
builder.
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)
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);
ProxylessEndToEnd.AppHost (1)
AppHost.cs (1)
19
builder.
AddDotnetProject
("api2", "../ProxylessEndToEnd.ApiService/ProxylessEndToEnd.ApiService.csproj", options => options.ExcludeLaunchProfile = true)
Stress.AppHost (5)
AppHost.cs (5)
31
builder.
AddDotnetProject
("manual-project-args", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true)
84
var serviceBuilder = builder.
AddDotnetProject
("stress-apiservice", "../Stress.ApiService/Stress.ApiService.csproj", options => options.ExcludeLaunchProfile = true)
155
var resourceBuilder = builder.
AddDotnetProject
($"empty-{i:0000}", "../Stress.Empty/Stress.Empty.csproj", options => options.ExcludeLaunchProfile = true)
167
builder.
AddDotnetProject
("empty-profile-1", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1");
168
builder.
AddDotnetProject
("empty-profile-2", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1")
TestProject.AppHost (3)
TestProgram.cs (3)
77
ServiceABuilder = AppBuilder.
AddDotnetProject
($"{testPrefix}servicea", new Projects.ServiceA().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http");
78
ServiceBBuilder = AppBuilder.
AddDotnetProject
($"{testPrefix}serviceb", new Projects.ServiceB().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http");
79
ServiceCBuilder = AppBuilder.
AddDotnetProject
($"{testPrefix}servicec", new Projects.ServiceC().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http");
TestShop.AppHost (1)
AppHost.cs (1)
215
builder.
AddDotnetProject
("orderprocessor", "../OrderProcessor/OrderProcessor.csproj", options => options.LaunchProfileName = "OrderProcessor")
WebPubSub.AppHost (1)
AppHost.cs (1)
6
var web = builder.
AddDotnetProject
("webfrontend", "../WebPubSubWeb/WebPubSubWeb.csproj", options => options.LaunchProfileName = "https")