1 write to Version
Microsoft.DotNet.Cli.CoreUtils (1)
Product.cs (1)
18
Version
= versionFile.BuildNumber
22 references to Version
dotnet-aot (14)
parent\dotnet\CliSchema.cs (1)
114
version: Product.
Version
,
parent\dotnet\Commands\Run\AotRunCommand.cs (1)
110
Product.
Version
,
parent\dotnet\Commands\Sdk\Check\SdkCheckCommand.cs (1)
34
var configFilePath = Path.Combine(_dotnetPath, "sdk", dotnetVersion ?? Product.
Version
, "sdk-check-config.json");
parent\dotnet\Commands\Workload\Install\WorkloadManifestUpdater.cs (2)
36
var sdkVersion = Product.
Version
;
97
SdkFeatureBand featureBand = new(Product.
Version
);
parent\dotnet\Commands\Workload\WorkloadInfoHelper.cs (2)
46
ReleaseVersion currentSdkReleaseVersion = new(currentSdkVersion ?? Product.
Version
);
225
reporter.WriteLine($" {WorkloadInstallType.GetWorkloadInstallType(new SdkFeatureBand(Product.
Version
), dotnetPath).ToString(),align}"
parent\dotnet\Commands\Workload\WorkloadInstallDetector.cs (1)
37
var sdkFeatureBand = new SdkFeatureBand(Product.
Version
);
parent\dotnet\FirstRunExperience.cs (1)
40
private static readonly string s_toolPathSentinelFileName = $"{Product.
Version
}.toolpath.sentinel";
parent\dotnet\ParserOptionActions.cs (2)
128
Reporter.Output.WriteLine(Product.
Version
);
150
Reporter.Output.WriteLine($" Version: {Product.
Version
}");
parent\dotnet\Telemetry\TelemetryClient.cs (2)
111
.ConfigureResource(r => { r.AddService("dotnet-cli", serviceVersion: Product.
Version
); })
121
.ConfigureResource(r => { r.AddService("dotnet-cli", serviceVersion: Product.
Version
); })
parent\dotnet\Telemetry\TelemetryCommonProperties.cs (1)
64
{ ProductVersion, Product.
Version
},
Microsoft.DotNet.Cli.Definitions (3)
Common\TargetPlatformOptions.cs (3)
117
string runtimeIdentifierChainPath = string.IsNullOrEmpty(Product.
Version
) || !Directory.Exists(Path.Combine(sdkPath, Product.
Version
)) ?
119
Path.Combine(sdkPath, Product.
Version
, ridFileName);
Microsoft.DotNet.Cli.Utils (1)
Activities.cs (1)
18
public static ActivitySource Source { get; } = new("dotnet-cli", Product.
Version
);
Microsoft.DotNet.Configurer (4)
AspNetCertificateSentinel.cs (1)
11
public static readonly string SENTINEL = $"{Product.
Version
}.aspNetCertificateSentinel";
DotnetFirstTimeUseConfigurer.cs (1)
58
string productVersion = Product.
Version
;
FirstTimeUseNoticeSentinel.cs (1)
11
public static readonly string SENTINEL = $"{Product.
Version
}.dotnetFirstUseSentinel";
UserLevelCacheWriter.cs (1)
72
return Path.Combine(_dotnetUserProfileFolderPath, $"{Product.
Version
}_{cacheKey}.dotnetUserLevelCache");