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)
234sdk.ExtensionSDKs.Count.ShouldBe(0);
259sdk.ExtensionSDKs.Count.ShouldBe(0);
285sdk.ExtensionSDKs.Count.ShouldBe(1);
311sdk.ExtensionSDKs.Count.ShouldBe(1);
3787targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3788targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3790targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "v1.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3791targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=2.0");
3792targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=2.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0", "ExtensionSDKs", "MyAssembly", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3795targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3797targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=3.0");
3798targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=3.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3799targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=4.0");
3800targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=4.0"].ShouldBe(Path.Combine(_fakeStructureRoot2, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "4.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3808targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3809targetPlatforms[key].ExtensionSDKs.ShouldContainKey("AnotherAssembly, Version=1.0");
3810targetPlatforms[key].ExtensionSDKs["AnotherAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "4.0", "ExtensionSDKs", "AnotherAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3813targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3815targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3816targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3819targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3821targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3822targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3826targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3830targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3839targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);