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