36 references to Product
dotnet (27)
CliSchema.cs (1)
114
version:
Product
.Version,
CommandLineInfo.cs (2)
21
Reporter.Output.WriteLine(
Product
.Version);
33
Reporter.Output.WriteLine($" Version: {
Product
.Version}");
Commands\Help\HelpCommand.cs (2)
41
var versionString = string.IsNullOrEmpty(
Product
.Version) ? string.Empty : $" ({
Product
.Version})";
Commands\New\NewCommandParser.cs (2)
132
{ "dotnet-cli-version",
Product
.Version },
138
Product
.Version,
Commands\New\SdkInfoProvider.cs (1)
34
return Task.FromResult(
Product
.Version);
Commands\Run\CSharpCompilerCommand.cs (1)
53
internal static string TargetFrameworkVersion =>
Product
.TargetFrameworkVersion;
Commands\Run\RunCommand.cs (1)
716
Product
.TargetFrameworkVersion,
Commands\Run\VirtualProjectBuildingCommand.cs (3)
85
public static string TargetFrameworkVersion =>
Product
.TargetFrameworkVersion;
86
public static string TargetFramework => $"net{
Product
.TargetFrameworkVersion}";
784
SdkVersion =
Product
.Version,
Commands\Sdk\Check\SdkCheckCommand.cs (1)
34
var configFilePath = Path.Combine(_dotnetPath, "sdk", dotnetVersion ??
Product
.Version, "sdk-check-config.json");
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
328
Product
.TargetFrameworkVersion,
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (1)
242
.Where(f => f.Version < new NuGetVersion(
Product
.Version).Version)
Commands\Workload\Install\WorkloadManifestUpdater.cs (2)
65
var sdkVersion =
Product
.Version;
173
SdkFeatureBand featureBand = new(
Product
.Version);
Commands\Workload\Install\WorkloadResolverFactory.cs (2)
9
using Product = Microsoft.DotNet.Cli.Utils.
Product
;
34
result.SdkVersion = new ReleaseVersion(
Product
.Version);
Commands\Workload\WorkloadInfoHelper.cs (3)
13
using Product = Microsoft.DotNet.Cli.Utils.
Product
;
37
ReleaseVersion currentSdkReleaseVersion = new(currentSdkVersion ??
Product
.Version);
191
reporter.WriteLine($" {WorkloadInstallType.GetWorkloadInstallType(new SdkFeatureBand(
Product
.Version), dotnetPath).ToString(),align}"
ParserOptionActions.cs (2)
119
Reporter.Output.WriteLine(
Product
.Version);
141
Reporter.Output.WriteLine($" Version: {
Product
.Version}");
Program.cs (1)
38
private static readonly string s_toolPathSentinelFileName = $"{
Product
.Version}.toolpath.sentinel";
Telemetry\TelemetryCommonProperties.cs (1)
63
{ ProductVersion,
Product
.Version },
Microsoft.DotNet.Cli.CoreUtils (1)
Product.cs (1)
19
?? typeof(
Product
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?
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");