10 references to ProductVersion
Aspire.RuntimeIdentifier.Tool (1)
Program.cs (1)
17RootCommand rootCommand = new("Aspire.RuntimeIdentifier.Tool v" + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion)
Microsoft.CodeAnalysis.Workspaces (1)
Log\RoslynEventSource.cs (1)
114output.AppendLine(fvi.ProductVersion);
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (1)
MonoMSBuildDiscovery.cs (1)
182s_monoVersionString = msbuildVersionInfo.ProductVersion;
System.Diagnostics.FileVersionInfo (2)
System\Diagnostics\FileVersionInfo.cs (2)
312/// <returns>A list of the following properties in this class and their values: <see cref="FileName" />, <see cref="InternalName" />, <see cref="OriginalFilename" />, <see cref="FileVersion" />, <see cref="FileDescription" />, <see cref="ProductName" />, <see cref="ProductVersion" />, <see cref="IsDebug" />, <see cref="IsPatched" />, <see cref="IsPreRelease" />, <see cref="IsPrivateBuild" />, <see cref="IsSpecialBuild" />, <see cref="Language" />. If the file did not contain version information, <see cref="FileName" /> will still contain the name of the file requested, Boolean values will be <see langword="false" />, and the other version-related values will be empty.</returns> 325sb.Append("ProductVersion: ").AppendLine(ProductVersion);
System.Windows.Forms (5)
System\Windows\Forms\Application.cs (1)
563s_productVersion = GetAppFileVersionInfo().ProductVersion;
System\Windows\Forms\Control.ControlVersionInfo.cs (1)
137_productVersion = GetFileVersionInfo().ProductVersion;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (3)
274Debug.Assert(versionInfo is not null && !string.IsNullOrEmpty(versionInfo.ProductVersion), "Couldn't get the version info for the richedit dll"); 275if (versionInfo is not null && !string.IsNullOrEmpty(versionInfo.ProductVersion)) 278if (int.TryParse(versionInfo.ProductVersion.AsSpan(0, 1), out int parsedValue))