13 writes to ProjectPath
Aspire.Hosting (2)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
589ProjectPath = projectMetadata.ProjectPath
ApplicationModel\ProjectLaunchConfigurationFactory.cs (1)
32ProjectPath = projectMetadata.ProjectPath,
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (9)
5050ProjectPath = "ProducerSuppliedPath", 6612mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, 8062mode => new ProjectLaunchConfiguration { ProjectPath = projectPath, Mode = mode }, 8108mode => new ProjectLaunchConfiguration { ProjectPath = projectPath, Mode = mode }, 8157return new ProjectLaunchConfiguration { ProjectPath = "AsyncProducerPath", Mode = mode, LaunchProfile = "async-profile" }; 8691.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 8721.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project") 9528.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, "project"); 9571.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project");
Dcp\ExecutableLaunchPlanTests.cs (1)
104static _ => Task.FromResult(new ProjectLaunchConfiguration { ProjectPath = "/tmp/app.csproj" })));
DebugSupportExtensionsTests.cs (1)
153ProjectPath = "custom-path",
8 references to ProjectPath
Aspire.Hosting.Dotnet.Tests (1)
DotnetProjectResourceTests.cs (1)
652Assert.Equal(projectPath, launchConfig.ProjectPath);
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (5)
5073Assert.Equal("ProducerSuppliedPath", plc!.ProjectPath); 8091Assert.Equal(projectPath, launchConfiguration.ProjectPath); 8137Assert.Equal(projectPath, launchConfiguration.ProjectPath); 8180Assert.Equal("AsyncProducerPath", plc.ProjectPath); 8649Assert.Equal("TestProjectWithLaunchSettings", plc.ProjectPath);
DebugSupportExtensionsTests.cs (2)
108Assert.Equal(GetProjectPath(project.Resource), launchConfiguration.ProjectPath); 160Assert.Equal("custom-path", launchConfiguration.ProjectPath);