2 writes to Path
aspire (2)
Configuration\IntegrationReference.cs (2)
99
return new IntegrationReference { Name = name, Source = IntegrationSource.Project,
Path
= projectPath };
110
return new IntegrationReference { Name = name, Source = IntegrationSource.Npm,
Path
= hostPath };
17 references to Path
aspire (9)
Configuration\IntegrationReference.cs (2)
20
/// <summary>Local .NET project reference. Uses <see cref="IntegrationReference.
Path
"/> (absolute csproj path).</summary>
23
/// <summary>npm integration host package. Uses <see cref="IntegrationReference.
Path
"/> (absolute host entry-point path).</summary>
Projects\AppHostServerAppSettingsWriter.cs (1)
46
"HostEntryPoint": {{JsonString(i.
Path
!)}}
Projects\CSharpProjectFile.cs (1)
84
integrationReference.
Path
!,
Projects\GuestAppHostProject.cs (3)
992
var hostDir = Path.GetDirectoryName(integration.
Path
!)!;
1000
integration.Name, integration.
Path
, hostDir);
2333
sb.Append(integration.Version ?? integration.
Path
?? "");
Projects\PrebuiltAppHostServer.cs (2)
415
if (projectRef.
Path
is { } path)
923
p.
Path
!,
Aspire.Cli.Tests (8)
Configuration\AspireConfigFileTests.cs (1)
389
projectRef.
Path
);
Configuration\IntegrationReferenceTests.cs (5)
17
Assert.Null(reference.
Path
);
27
Assert.Equal("/path/to/MyIntegration.csproj", reference.
Path
);
39
Assert.Null(reference.
Path
);
67
Assert.EndsWith(".csproj", projectRefs[0].
Path
!);
86
Assert.True(Path.IsPathRooted(projectRef.
Path
!));
Projects\GuestAppHostProjectTests.cs (2)
697
Assert.NotNull(projectRef.
Path
);
698
Assert.EndsWith(".csproj", projectRef.
Path
);