1 write to ProjectPath
aspire (1)
Configuration\IntegrationReference.cs (1)
61return new IntegrationReference { Name = name, ProjectPath = projectPath };
11 references to ProjectPath
aspire (5)
Configuration\IntegrationReference.cs (2)
9/// Exactly one of <see cref="Version"/> or <see cref="ProjectPath"/> must be non-null. 31public bool IsProjectReference => ProjectPath is not null;
Projects\DotNetBasedAppHostServerProject.cs (1)
194new XAttribute("Include", integration.ProjectPath!),
Projects\GuestAppHostProject.cs (1)
1080sb.Append(integration.Version ?? integration.ProjectPath ?? "");
Projects\PrebuiltAppHostServer.cs (1)
315new XAttribute("Include", p.ProjectPath!)))));
Aspire.Cli.Tests (6)
Configuration\IntegrationReferenceTests.cs (4)
18Assert.Null(reference.ProjectPath); 29Assert.Equal("/path/to/MyIntegration.csproj", reference.ProjectPath); 56Assert.EndsWith(".csproj", projectRefs[0].ProjectPath!); 75Assert.True(Path.IsPathRooted(projectRef.ProjectPath!));
Projects\GuestAppHostProjectTests.cs (2)
234Assert.NotNull(projectRef.ProjectPath); 235Assert.EndsWith(".csproj", projectRef.ProjectPath);