8 references to CurrentVisualStudioVersion
Microsoft.Build (3)
Evaluation\Conditionals\StringExpressionNode.cs (2)
43result = ConversionUtilities.ConvertDecimalOrHexToDouble(MSBuildConstants.CurrentVisualStudioVersion); 56result = Version.Parse(MSBuildConstants.CurrentVisualStudioVersion);
Evaluation\Evaluator.cs (1)
1219_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext);
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
1241p.GetPropertyValue("VisualStudioVersion").ShouldBe(t.DefaultSubToolsetVersion ?? MSBuildConstants.CurrentVisualStudioVersion);
Microsoft.Build.Engine.UnitTests (3)
BuildEnvironmentHelper_Tests.cs (1)
212[InlineData(MSBuildConstants.CurrentVisualStudioVersion, true)]
Evaluation\Evaluator_Tests.cs (1)
4338Assert.Equal(MSBuildConstants.CurrentVisualStudioVersion, actual);
Instance\ProjectInstance_Internal_Tests.cs (1)
330p.GetPropertyValue("VisualStudioVersion").ShouldBe(MSBuildConstants.CurrentVisualStudioVersion);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
47private static string s_currentVisualStudioVersion = MSBuildConstants.CurrentVisualStudioVersion;