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