39 references to AddDotnetProject
Aspire.Hosting.Blazor.Tests (1)
AddDotnetProjectBlazorGatewayTests.cs (1)
42var weatherApi = builder.AddDotnetProject("weatherapi", "weatherapi.csproj", o => o.ExcludeLaunchProfile = true)
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
53return builder.AddDotnetProject(name, path, _ => { }); 68? builder.AddDotnetProject(name, path, _ => { }) 69: builder.AddDotnetProject(name, path, configure => ApplyProjectResourceOptions(configure, options));
Aspire.Hosting.Dotnet.Tests (35)
DotnetProjectPublicApiTests.cs (1)
114var action = () => builder.AddDotnetProject("app", "app.csproj", configure: null!);
DotnetProjectResourceTests.cs (34)
44var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 62var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 80var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 91var app = builder.AddDotnetProject("svc", "MyService.csproj", o => o.ExcludeLaunchProfile = true); 104var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 126var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true); 142builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 159builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 175builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 207builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 248builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 278builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 305builder.AddDotnetProject("svc", CreateFile(workspace.Path, "MyService.csproj"), o => o.ExcludeLaunchProfile = true); 345builder.AddDotnetProject("api", CreateFile(workspace.Path, "Api.csproj"), o => o.ExcludeLaunchProfile = true); 346builder.AddDotnetProject("worker", CreateFile(workspace.Path, "Worker.csproj"), o => o.ExcludeLaunchProfile = true); 347builder.AddDotnetProject("excluded", CreateFile(workspace.Path, "Excluded.csproj"), o => o.ExcludeLaunchProfile = true) 349builder.AddDotnetProject("containerized", CreateFile(workspace.Path, "Containerized.csproj"), o => o.ExcludeLaunchProfile = true) 367var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 383var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 401var resource = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 437var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 455var app = builder.AddDotnetProject("svc", projectDir.FullName, o => o.ExcludeLaunchProfile = true); 465var app = builder.AddDotnetProject("appName", "app-path", options => { options.ExcludeLaunchProfile = true; }); 509var resource = builder.AddDotnetProject("testapp", projectPath, o => o.ExcludeLaunchProfile = true).Resource; 542var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true); 598var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 615var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 689var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 715var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 747var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 778var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 808var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 837var app = builder.AddDotnetProject("svc", projectPath, o => o.ExcludeLaunchProfile = true) 880var app = builder.AddDotnetProject("svc", appPath, o => o.ExcludeLaunchProfile = true)