12 references to ConvertToVersion
Microsoft.Build.Tasks.Core (12)
AssemblyDependency\GlobalAssemblyCache.cs (1)
143Version runtimeVersion = VersionUtilities.ConvertToVersion(runtimeVersionRaw);
AssemblyDependency\ResolveAssemblyReference.cs (2)
2733versionToReturn = VersionUtilities.ConvertToVersion(targetedRuntimeVersionRawValue); 3077parsedVersion = VersionUtilities.ConvertToVersion(version);
AssemblyFoldersEx.cs (5)
249Version ver = VersionUtilities.ConvertToVersion(osVersion); 298Version minVersion = minVersionAsString == null ? null : VersionUtilities.ConvertToVersion(minVersionAsString); 306Version maxVersion = maxVersionAsString == null ? null : VersionUtilities.ConvertToVersion(maxVersionAsString); 350Version targetVersion = VersionUtilities.ConvertToVersion(targetRuntimeVersion); 372Version candidateVersion = VersionUtilities.ConvertToVersion(version);
AssemblyFoldersFromConfig.cs (2)
81let targetVersion = VersionUtilities.ConvertToVersion(targetRuntimeVersion) 90var candidateVersion = VersionUtilities.ConvertToVersion(version);
ResolveComReference.cs (1)
468parsedVersion = VersionUtilities.ConvertToVersion(version);
VersionUtilities.cs (1)
40Version candidateVersion = VersionUtilities.ConvertToVersion(version);