311 references to AddDotnetProject
Aspire.Hosting.Azure.EntraId.Tests (5)
EntraIdProvisioningTests.cs (4)
446? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 471? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 507? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true) 1909nameof(DotnetProjectResource) => builder.AddDotnetProject("consumer", "consumer.csproj", options => options.ExcludeLaunchProfile = true),
EntraIdResourceBuilderTests.cs (1)
709? appBuilder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Azure.Kubernetes.Tests (2)
AzureKubernetesFoundryReferenceTests.cs (2)
34var dotnetAgent = builder.AddDotnetProject("agent", "agent.csproj", options => options.ExcludeLaunchProfile = true) 58? builder.AddDotnetProject("web", "web.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Azure.Tests (56)
AzureApiManagementTests.cs (22)
48var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 164var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 190var backend = builder.AddDotnetProject("backend", "project.csproj", options => options.ExcludeLaunchProfile = true) 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)
AzureAppServiceTests.cs (1)
88var project = builder.AddDotnetProject("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)
Aspire.Hosting.Blazor.Tests (3)
AddDotnetProjectBlazorGatewayTests.cs (1)
42var weatherApi = builder.AddDotnetProject("weatherapi", "weatherapi.csproj", o => o.ExcludeLaunchProfile = true)
BlazorHostedExtensionsTests.cs (2)
41? builder.AddDotnetProject("weatherapi", "weatherapi.csproj", options => options.ExcludeLaunchProfile = true) 46? builder.AddDotnetProject("blazorapp", "blazorapp.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
925? builder.AddDotnetProject("target", "target.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Docker.Tests (3)
DockerComposePublisherTests.cs (2)
362var api = builder.AddDotnetProject("api", "api.csproj", options => options.ExcludeLaunchProfile = true); 363builder.AddDotnetProject("worker", "worker.csproj", options => options.ExcludeLaunchProfile = true)
DockerComposeTests.cs (1)
116builder.AddDotnetProject("ServiceA", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
310return builder.AddDotnetProject(name, path, _ => { }); 324? builder.AddDotnetProject(name, path, _ => { }) 325: builder.AddDotnetProject(name, path, configure => ApplyProjectResourceOptions(configure, options));
Aspire.Hosting.Dotnet.Tests (198)
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) 995var resource = builder.AddDotnetProject( 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); 4054var missing = builder.AddDotnetProject( 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)
72var project = builder.AddDotnetProject(
DotnetProjectFacadeTests.cs (6)
18var resource = builder.AddDotnetProject("service", "Service.fsproj", options => options.ExcludeLaunchProfile = true); 99var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true); 109var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true) 142var resource = builder.AddDotnetProject("service", "Service.vbproj", options => options.ExcludeLaunchProfile = true); 163var disabled = builder.AddDotnetProject("disabled", path, options => options.ExcludeLaunchProfile = true) 166var enabled = builder.AddDotnetProject("enabled", path, options => options.ExcludeLaunchProfile = true)
DotnetProjectLaunchProfileTests.cs (2)
156builder.AddDotnetProject("service", path, options => options.LaunchProfileName = "Properties-second")); 272var resource = builder.AddDotnetProject("service", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPathTests.cs (10)
29var resource = builder.AddDotnetProject("service", projectPath, options => options.ExcludeLaunchProfile = true); 30var relativeResource = builder.AddDotnetProject("relative", Path.GetFileName(projectPath), options => options.ExcludeLaunchProfile = true); 66var absolute = builder.AddDotnetProject("absolute", directory.FullName, options => options.ExcludeLaunchProfile = true); 67var relative = builder.AddDotnetProject("relative", "Service", options => options.ExcludeLaunchProfile = true); 98var resource = builder.AddDotnetProject("service", "", options => options.ExcludeLaunchProfile = true); 130var resource = builder.AddDotnetProject("service", directory.FullName, options => options.ExcludeLaunchProfile = true); 166var resource = builder.AddDotnetProject("service", path, options => options.ExcludeLaunchProfile = true); 203var modern = builder.AddDotnetProject("modern", directory.FullName, options => options.ExcludeLaunchProfile = true); 223var modern = builder.AddDotnetProject("modern", workspace.Path, options => options.ExcludeLaunchProfile = true); 334var excluded = builder.AddDotnetProject("excluded", path, options => options.ExcludeLaunchProfile = true);
DotnetProjectPublicApiTests.cs (1)
89var action = () => builder.AddDotnetProject("app", "app.csproj", configure: null!);
DotnetProjectResourceTests.cs (36)
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) 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)
25return builder.AddDotnetProject(name, GetProjectPath<TProject>(name), options =>
ProjectCustomizationCompatibilityTests.cs (1)
78return builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
ProjectReferenceCompatibilityTests.cs (2)
30source = builder.AddDotnetProject("source", "Source.csproj", options => options.ExcludeLaunchProfile = true); 41consumer = builder.AddDotnetProject("consumer", "Consumer.csproj", options => options.ExcludeLaunchProfile = true);
WslcDotnetPublishingTests.cs (4)
32var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 55var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 86var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true) 130var resource = builder.AddDotnetProject("program", "program.csproj", options => options.ExcludeLaunchProfile = true)
Aspire.Hosting.EntityFrameworkCore.Tests (14)
AddEFMigrationsTests.cs (2)
92var project = builder.AddDotnetProject("myproject", "MyProject.csproj", options => options.ExcludeLaunchProfile = true); 108var project = builder.AddDotnetProject("myproject", "app.cs", options => options.ExcludeLaunchProfile = true);
EFBuildCustomizationWarningTests.cs (5)
44: builder.AddDotnetProject("api", startupPath, options => options.ExcludeLaunchProfile = true); 45var target = builder.AddDotnetProject("target", new Projects.ServiceB().ProjectPath, 118var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath, 146var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath, 181var startup = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath,
EFMigrationConfigurationTests.cs (4)
111? builder.AddDotnetProject("myproject", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true) 219var target = builder.AddDotnetProject("target", "app.cs", options => options.ExcludeLaunchProfile = true); 237? builder.AddDotnetProject("startup", new Projects.ServiceA().ProjectPath, options => options.ExcludeLaunchProfile = true) 242? builder.AddDotnetProject("target", new Projects.ServiceB().ProjectPath, options => options.ExcludeLaunchProfile = true)
EFMigrationPipelineTests.cs (1)
34var project = builder.AddDotnetProject("api", new Projects.ServiceA().ProjectPath,
EFMigrationResourceTests.cs (2)
37var project = builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true); 66builder.AddDotnetProject("project", "Service.csproj", options => options.ExcludeLaunchProfile = true);
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 (1)
AddMilvusTests.cs (1)
109? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true)
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
194? appBuilder.AddDotnetProject("projecta", "projecta.csproj", o => o.ExcludeLaunchProfile = true)
Aspire.Hosting.Radius.Tests (4)
InnerLoop\RadiusInfrastructureInitializationTests.cs (1)
102builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
Publishing\BicepGenerationSimpleTests.cs (1)
183builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
RadiusExtensionsTests.cs (2)
187? builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true) 205var project = builder.AddDotnetProject("webapp", "webapp.csproj", options => options.ExcludeLaunchProfile = true);
ProxylessEndToEnd.AppHost (1)
AppHost.cs (1)
19builder.AddDotnetProject("api2", "../ProxylessEndToEnd.ApiService/ProxylessEndToEnd.ApiService.csproj", options => options.ExcludeLaunchProfile = true)
Stress.AppHost (5)
AppHost.cs (5)
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) 148builder.AddDotnetProject("empty-profile-1", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1"); 149builder.AddDotnetProject("empty-profile-2", "../Stress.Empty/Stress.Empty.csproj", options => options.LaunchProfileName = "Profile1")
TestProject.AppHost (3)
TestProgram.cs (3)
77ServiceABuilder = AppBuilder.AddDotnetProject($"{testPrefix}servicea", new Projects.ServiceA().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http"); 78ServiceBBuilder = AppBuilder.AddDotnetProject($"{testPrefix}serviceb", new Projects.ServiceB().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http"); 79ServiceCBuilder = AppBuilder.AddDotnetProject($"{testPrefix}servicec", new Projects.ServiceC().ProjectPath, projectOptions => projectOptions.LaunchProfileName = "http");
TestShop.AppHost (1)
AppHost.cs (1)
215builder.AddDotnetProject("orderprocessor", "../OrderProcessor/OrderProcessor.csproj", options => options.LaunchProfileName = "OrderProcessor")
WebPubSub.AppHost (1)
AppHost.cs (1)
6var web = builder.AddDotnetProject("webfrontend", "../WebPubSubWeb/WebPubSubWeb.csproj", options => options.LaunchProfileName = "https")