1 instantiation of MSBuildAssemblyFileVersion
Microsoft.Build (1)
Resources\MSBuildAssemblyFileVersion.cs (1)
52
return new
MSBuildAssemblyFileVersion
($"{version.Major}.{version.Minor}.{version.Build}");
8 references to MSBuildAssemblyFileVersion
Microsoft.Build (8)
Definition\Toolset.cs (1)
909
reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.version,
MSBuildAssemblyFileVersion
.Instance.MajorMinorBuild, mayBeReserved: true));
Evaluation\Evaluator.cs (1)
1137
SetBuiltInProperty(ReservedPropertyNames.version,
MSBuildAssemblyFileVersion
.Instance.MajorMinorBuild);
Resources\MSBuildAssemblyFileVersion.cs (6)
16
private static readonly Lazy<
MSBuildAssemblyFileVersion
> MSBuildAssemblyFileVersionLazy = new Lazy<
MSBuildAssemblyFileVersion
>(GetMSBuildAssemblyFileVersion, isThreadSafe: true);
24
/// Gets a singleton instance of <see cref="
MSBuildAssemblyFileVersion
"/>.
26
public static
MSBuildAssemblyFileVersion
Instance
36
private static
MSBuildAssemblyFileVersion
GetMSBuildAssemblyFileVersion()
38
string versionString = typeof(
MSBuildAssemblyFileVersion
)