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)
233sdk.ExtensionSDKs.Count.ShouldBe(0);
258sdk.ExtensionSDKs.Count.ShouldBe(0);
284sdk.ExtensionSDKs.Count.ShouldBe(1);
310sdk.ExtensionSDKs.Count.ShouldBe(1);
3786targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3787targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3789targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "v1.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3790targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=2.0");
3791targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=2.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0", "ExtensionSDKs", "MyAssembly", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3794targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(2);
3796targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=3.0");
3797targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=3.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3798targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=4.0");
3799targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=4.0"].ShouldBe(Path.Combine(_fakeStructureRoot2, "Windows", "2.0", "ExtensionSDKs", "MyAssembly", "4.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3807targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3808targetPlatforms[key].ExtensionSDKs.ShouldContainKey("AnotherAssembly, Version=1.0");
3809targetPlatforms[key].ExtensionSDKs["AnotherAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "4.0", "ExtensionSDKs", "AnotherAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3812targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(1);
3814targetPlatforms[key].ExtensionSDKs.ShouldContainKey("MyAssembly, Version=1.0");
3815targetPlatforms[key].ExtensionSDKs["MyAssembly, Version=1.0"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0", "ExtensionSDKs", "MyAssembly", "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", "2.0", "ExtensionSDKs", "MyAssembly", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3825targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3829targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);
3838targetPlatforms[key].ExtensionSDKs.Count.ShouldBe(0);