2 writes to Path
aspire (2)
Configuration\IntegrationReference.cs (2)
99return new IntegrationReference { Name = name, Source = IntegrationSource.Project, Path = projectPath }; 110return 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)
84integrationReference.Path!,
Projects\GuestAppHostProject.cs (3)
1072var hostDir = Path.GetDirectoryName(integration.Path!)!; 1080integration.Name, integration.Path, hostDir); 2466sb.Append(integration.Version ?? integration.Path ?? "");
Projects\NativeAppHostServerProject.cs (1)
93var entryPoint = reference.Path ?? throw new InvalidDataException($"Provider '{reference.Name}' has no entry point.");
Projects\PrebuiltAppHostServer.cs (1)
734p.Path!,
Aspire.Cli.Tests (8)
Configuration\AspireConfigFileTests.cs (1)
463projectRef.Path);
Configuration\IntegrationReferenceTests.cs (5)
17Assert.Null(reference.Path); 27Assert.Equal("/path/to/MyIntegration.csproj", reference.Path); 39Assert.Null(reference.Path); 67Assert.EndsWith(".csproj", projectRefs[0].Path!); 86Assert.True(Path.IsPathRooted(projectRef.Path!));
Projects\GuestAppHostProjectTests.cs (2)
731Assert.NotNull(projectRef.Path); 732Assert.EndsWith(".csproj", projectRef.Path);