8 references to CurrentVisualStudioVersion
Microsoft.Build (3)
Evaluation\Conditionals\StringExpressionNode.cs (2)
43
result = ConversionUtilities.ConvertDecimalOrHexToDouble(MSBuildConstants.
CurrentVisualStudioVersion
);
56
result = 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)
1241
p.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)
4338
Assert.Equal(MSBuildConstants.
CurrentVisualStudioVersion
, actual);
Instance\ProjectInstance_Internal_Tests.cs (1)
330
p.GetPropertyValue("VisualStudioVersion").ShouldBe(MSBuildConstants.
CurrentVisualStudioVersion
);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
47
private static string s_currentVisualStudioVersion = MSBuildConstants.
CurrentVisualStudioVersion
;