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