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)
1072
var hostDir = Path.GetDirectoryName(integration.
Path
!)!;
1080
integration.Name, integration.
Path
, hostDir);
2466
sb.Append(integration.Version ?? integration.
Path
?? "");
Projects\NativeAppHostServerProject.cs (1)
93
var entryPoint = reference.
Path
?? throw new InvalidDataException($"Provider '{reference.Name}' has no entry point.");
Projects\PrebuiltAppHostServer.cs (1)
734
p.
Path
!,
Aspire.Cli.Tests (8)
Configuration\AspireConfigFileTests.cs (1)
463
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)
731
Assert.NotNull(projectRef.
Path
);
732
Assert.EndsWith(".csproj", projectRef.
Path
);