15 references to DefaultSubToolsetVersion
Microsoft.Build (1)
Definition\Toolset.cs (1)
815
return subToolsetVersion ?? (
DefaultSubToolsetVersion
);
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\Project_Tests.cs (2)
1239
p.SubToolsetVersion.ShouldBe(t.
DefaultSubToolsetVersion
);
1241
p.GetPropertyValue("VisualStudioVersion").ShouldBe(t.
DefaultSubToolsetVersion
?? MSBuildConstants.CurrentVisualStudioVersion);
Microsoft.Build.Engine.UnitTests (12)
Construction\SolutionProjectGenerator_Tests.cs (3)
444
Assert.Equal(t.
DefaultSubToolsetVersion
, instances[0].SubToolsetVersion);
446
if (t.
DefaultSubToolsetVersion
!= null)
448
Assert.Equal(t.
DefaultSubToolsetVersion
, instances[0].GetPropertyValue("VisualStudioVersion"));
Definition\Toolset_Tests.cs (6)
165
Assert.Equal("v13.0", t.
DefaultSubToolsetVersion
);
178
Assert.Equal(Constants.Dev10SubToolsetValue, t.
DefaultSubToolsetVersion
);
184
Assert.Equal("11.0", t.
DefaultSubToolsetVersion
);
205
Assert.Equal(Constants.Dev10SubToolsetValue, t.
DefaultSubToolsetVersion
);
209
Assert.Null(t.
DefaultSubToolsetVersion
);
434
Assert.Equal(t.
DefaultSubToolsetVersion
, t.GenerateSubToolsetVersion(null, 55));
Instance\ProjectInstance_Internal_Tests.cs (3)
326
p.SubToolsetVersion.ShouldBe(p.Toolset.
DefaultSubToolsetVersion
);
328
if (p.Toolset.
DefaultSubToolsetVersion
== null)
334
p.GetPropertyValue("VisualStudioVersion").ShouldBe(p.Toolset.
DefaultSubToolsetVersion
);