1 write to ExtensionSDKs
Microsoft.Build.Utilities.Core (1)
36 references to ExtensionSDKs
Microsoft.Build.Utilities.Core (10)
Microsoft.Build.Utilities.UnitTests (26)
ToolLocationHelper_Tests.cs (26)
236sdk.ExtensionSDKs.Count.ShouldBe(0);
261sdk.ExtensionSDKs.Count.ShouldBe(0);
287sdk.ExtensionSDKs.Count.ShouldBe(1);
313sdk.ExtensionSDKs.Count.ShouldBe(1);
3792targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3793targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3795targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "v1.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3796targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=2.0");
3797targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=2.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0", "ExtensionSDKs", "MyAssembly", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3800targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3802targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=3.0");
3803targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=3.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3804targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=4.0");
3805targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=4.0"].ShouldBe(Path.Combine(_fakeStructureRoot2, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "4.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3813targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3814targetPlatforms[key].ExtensionSDKs.ShouldContainKey("AnotherAssembly, Version=1.0");
3815targetPlatforms[key].ExtensionSDKs["AnotherAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "4.0", "ExtensionSDKs", "AnotherAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3818targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3820targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3821targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3824targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3826targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3827targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3831targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3835targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3844targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);