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)
992var hostDir = Path.GetDirectoryName(integration.Path!)!; 1000integration.Name, integration.Path, hostDir); 2333sb.Append(integration.Version ?? integration.Path ?? "");
Projects\PrebuiltAppHostServer.cs (2)
415if (projectRef.Path is { } path) 923p.Path!,
Aspire.Cli.Tests (8)
Configuration\AspireConfigFileTests.cs (1)
389projectRef.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)
697Assert.NotNull(projectRef.Path); 698Assert.EndsWith(".csproj", projectRef.Path);