7 writes to SubToolsetVersion
Microsoft.Build (7)
Instance\ProjectInstance.cs (7)
400this.SubToolsetVersion = project.SubToolsetVersion; 476SubToolsetVersion = linkedProject.SubToolsetVersion; 537this.SubToolsetVersion = projectToInheritFrom.SubToolsetVersion; 670this.SubToolsetVersion = data.SubToolsetVersion; 753this.SubToolsetVersion = that.SubToolsetVersion; 3134this.SubToolsetVersion = explicitSubToolsetVersion; 3138this.SubToolsetVersion = this.Toolset.GenerateSubToolsetVersionUsingVisualStudioVersion(globalProperties, visualStudioVersionFromSolution);
19 references to SubToolsetVersion
Microsoft.Build (9)
Construction\Solution\SolutionProjectGenerator.cs (6)
1109if (traversalProject.SubToolsetVersion != null) 1113if (traversalProject.SubToolsetVersion.Equals("4.0", StringComparison.OrdinalIgnoreCase)) 1115directProjectProperties = String.Format(CultureInfo.InvariantCulture, "{0}; {1}={2}", directProjectProperties, Constants.SubToolsetVersionPropertyName, traversalProject.SubToolsetVersion); 2084if (traversalProject.SubToolsetVersion != null) 2086if (traversalProject.SubToolsetVersion.Equals("4.0", StringComparison.OrdinalIgnoreCase)) 2088properties[Constants.SubToolsetVersionPropertyName] = traversalProject.SubToolsetVersion;
Instance\ProjectInstance.cs (3)
537this.SubToolsetVersion = projectToInheritFrom.SubToolsetVersion; 753this.SubToolsetVersion = that.SubToolsetVersion; 1313{ return SubToolsetVersion; }
Microsoft.Build.Engine.UnitTests (10)
Construction\SolutionProjectGenerator_Tests.cs (4)
444Assert.Equal(t.DefaultSubToolsetVersion, instances[0].SubToolsetVersion); 489Assert.Equal("11.0", instances[0].SubToolsetVersion); 522Assert.Equal("ABC", instances[0].SubToolsetVersion); 720Assert.Equal("11.0", instances[0].SubToolsetVersion);
Instance\ProjectInstance_Internal_Tests.cs (4)
326p.SubToolsetVersion.ShouldBe(p.Toolset.DefaultSubToolsetVersion); 360p.SubToolsetVersion.ShouldBe("ABCD"); 388p.SubToolsetVersion.ShouldBe("ABCDE"); 429p.SubToolsetVersion.ShouldBe("ABCDEF");
TestComparers\ProjectInstanceModelTestComparers.cs (2)
51Assert.Equal(x.SubToolsetVersion, y.SubToolsetVersion);