3 writes to CliPath
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
138
options.
CliPath
= dcpPublisherConfiguration[nameof(options.CliPath)];
147
options.
CliPath
= GetMetadataValue(assemblyMetadata, DcpCliPathMetadataKey);
Aspire.Hosting.Tests (1)
DistributedApplicationBuilderTests.cs (1)
34
o.
CliPath
= "dcp";
7 references to CliPath
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (1)
42
var dcpPath = _dcpOptions.
CliPath
;
Dcp\DcpHost.cs (1)
171
var dcpExePath = _dcpOptions.
CliPath
;
Dcp\DcpOptions.cs (4)
105
if (string.IsNullOrEmpty(options.
CliPath
))
135
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
CliPath
)]))
138
options.CliPath = dcpPublisherConfiguration[nameof(options.
CliPath
)];
139
if (Path.GetDirectoryName(options.
CliPath
) is string dcpDir && !string.IsNullOrEmpty(dcpDir))
Aspire.Hosting.Tests (1)
Dcp\DcpCliArgsTests.cs (1)
58
Assert.Equal("/not/a/valid/path", dcpOptions.
CliPath
);