1 write to References
Microsoft.Build.Tasks.Core (1)
GetSDKReferenceFiles.cs (1)
533
References
= resolvedReferenceAssemblies.ToArray();
191 references to References
Microsoft.Build.Tasks.UnitTests (191)
GetSDKReference_Tests.cs (191)
245
t.
References
.ShouldBeEmpty();
357
Assert.Empty(t.
References
);
382
Assert.Empty(t.
References
);
408
Assert.Empty(t.
References
);
433
Assert.Equal(8, t.
References
.Length);
437
Assert.Equal(winmd, t.
References
[0].ItemSpec, true);
438
Assert.Equal("A.winmd", Path.GetFileName(t.
References
[0].ItemSpec), true);
439
Assert.Equal("WindowsRuntime 1.0;CLR V2.0.50727", t.
References
[0].GetMetadata("ImageRuntime"), true);
440
Assert.Equal("A, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.
References
[0].GetMetadata("FusionName"), true);
441
Assert.Equal("true", t.
References
[0].GetMetadata("WinMDFile"), true);
442
Assert.Equal("Managed", t.
References
[0].GetMetadata("WinMDFileType"), true);
443
Assert.Equal("true", t.
References
[0].GetMetadata("CopyLocal"), true);
444
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
445
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
447
Assert.Equal("E.dll", Path.GetFileName(t.
References
[4].ItemSpec), true);
448
Assert.Equal("CLR V2.0.50727", t.
References
[4].GetMetadata("ImageRuntime"), true);
449
Assert.Equal("E, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.
References
[4].GetMetadata("FusionName"), true);
450
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"), true);
451
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
452
Assert.Equal("true", t.
References
[4].GetMetadata("CopyLocal"), true);
453
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
454
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
508
Assert.Equal(8, t.
References
.Length);
519
Assert.Equal(8, t.
References
.Length);
530
Assert.Empty(t.
References
);
557
Assert.Equal(8, t.
References
.Length);
559
Assert.Equal("A.winmd", Path.GetFileName(t.
References
[0].ItemSpec), true);
560
Assert.Equal("WindowsRuntime 1.0;CLR V2.0.50727", t.
References
[0].GetMetadata("ImageRuntime"), true);
561
Assert.Equal("A, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.
References
[0].GetMetadata("FusionName"), true);
562
Assert.Equal("true", t.
References
[0].GetMetadata("WinMDFile"), true);
563
Assert.Equal("Managed", t.
References
[0].GetMetadata("WinMDFileType"), true);
564
Assert.Equal("false", t.
References
[0].GetMetadata("CopyLocal"), true);
565
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
566
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
568
Assert.Equal("B.winmd", Path.GetFileName(t.
References
[1].ItemSpec), true);
569
Assert.Equal("WindowsRuntime 1.0", t.
References
[1].GetMetadata("ImageRuntime"), true);
570
Assert.Equal("B, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.
References
[1].GetMetadata("FusionName"), true);
571
Assert.Equal("true", t.
References
[1].GetMetadata("WinMDFile"), true);
572
Assert.Equal("Native", t.
References
[1].GetMetadata("WinMDFileType"), true);
573
Assert.Equal("false", t.
References
[1].GetMetadata("CopyLocal"), true);
574
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[1].GetMetadata("OriginalItemSpec"), true);
575
Assert.Equal("GetSDKReferenceFiles", t.
References
[1].GetMetadata("ResolvedFrom"), true);
577
Assert.Equal("E.dll", Path.GetFileName(t.
References
[4].ItemSpec), true);
578
Assert.Equal("CLR V2.0.50727", t.
References
[4].GetMetadata("ImageRuntime"), true);
579
Assert.Equal("E, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.
References
[4].GetMetadata("FusionName"), true);
580
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"), true);
581
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
582
Assert.Equal("false", t.
References
[4].GetMetadata("CopyLocal"), true);
583
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
584
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
608
ITaskItem[] references1 = t.
References
;
631
ITaskItem[] references2 = t2.
References
;
675
Assert.Equal(8, t.
References
.Length);
677
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[0].ItemSpec.Replace(t.
References
[0].GetMetadata("SDKRootPath"), String.Empty));
678
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[1].ItemSpec.Replace(t.
References
[1].GetMetadata("SDKRootPath"), String.Empty));
679
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[2].ItemSpec.Replace(t.
References
[2].GetMetadata("SDKRootPath"), String.Empty));
680
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[3].ItemSpec.Replace(t.
References
[3].GetMetadata("SDKRootPath"), String.Empty));
681
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[4].ItemSpec.Replace(t.
References
[4].GetMetadata("SDKRootPath"), String.Empty));
682
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[5].ItemSpec.Replace(t.
References
[5].GetMetadata("SDKRootPath"), String.Empty));
683
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[6].ItemSpec.Replace(t.
References
[6].GetMetadata("SDKRootPath"), String.Empty));
684
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[7].ItemSpec.Replace(t.
References
[7].GetMetadata("SDKRootPath"), String.Empty));
686
Assert.Equal("A.winmd", Path.GetFileName(t.
References
[0].ItemSpec));
687
Assert.Equal("true", t.
References
[0].GetMetadata("WinMDFile"));
688
Assert.Equal("Managed", t.
References
[0].GetMetadata("WinMDFileType"));
689
Assert.Equal("false", t.
References
[0].GetMetadata("CopyLocal"));
690
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
691
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
693
Assert.Equal("E.dll", Path.GetFileName(t.
References
[4].ItemSpec));
694
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"));
695
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
696
Assert.Equal("false", t.
References
[4].GetMetadata("CopyLocal"));
697
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
698
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
724
Assert.Equal(5, t.
References
.Length);
726
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[0].ItemSpec.Replace(t.
References
[0].GetMetadata("SDKRootPath"), String.Empty));
727
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[1].ItemSpec.Replace(t.
References
[1].GetMetadata("SDKRootPath"), String.Empty));
728
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[2].ItemSpec.Replace(t.
References
[2].GetMetadata("SDKRootPath"), String.Empty));
729
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[3].ItemSpec.Replace(t.
References
[3].GetMetadata("SDKRootPath"), String.Empty));
730
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[4].ItemSpec.Replace(t.
References
[4].GetMetadata("SDKRootPath"), String.Empty));
732
Assert.Equal("A.dll", Path.GetFileName(t.
References
[0].ItemSpec), true);
733
Assert.Equal("false", t.
References
[0].GetMetadata("WinMDFile"), true);
734
Assert.Empty(t.
References
[0].GetMetadata("WinMDFileType"));
735
Assert.Equal("false", t.
References
[0].GetMetadata("CopyLocal"), true);
736
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
737
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
739
Assert.Equal("h.dll", Path.GetFileName(t.
References
[4].ItemSpec), true);
740
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"), true);
741
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
742
Assert.Equal("false", t.
References
[4].GetMetadata("CopyLocal"), true);
743
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
744
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
816
Assert.Equal(8, t.
References
.Length);
818
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[0].ItemSpec.Replace(t.
References
[0].GetMetadata("SDKRootPath"), String.Empty));
819
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[1].ItemSpec.Replace(t.
References
[1].GetMetadata("SDKRootPath"), String.Empty));
820
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[2].ItemSpec.Replace(t.
References
[2].GetMetadata("SDKRootPath"), String.Empty));
821
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[3].ItemSpec.Replace(t.
References
[3].GetMetadata("SDKRootPath"), String.Empty));
822
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[4].ItemSpec.Replace(t.
References
[4].GetMetadata("SDKRootPath"), String.Empty));
823
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[5].ItemSpec.Replace(t.
References
[5].GetMetadata("SDKRootPath"), String.Empty));
824
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[6].ItemSpec.Replace(t.
References
[6].GetMetadata("SDKRootPath"), String.Empty));
825
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[7].ItemSpec.Replace(t.
References
[7].GetMetadata("SDKRootPath"), String.Empty));
827
Assert.True(t.
References
[0].ItemSpec.IndexOf("x64", StringComparison.OrdinalIgnoreCase) > -1);
828
Assert.Equal("A.winmd", Path.GetFileName(t.
References
[0].ItemSpec));
829
Assert.Equal("SDKWithManifest, Version=2.0", t.
References
[0].GetMetadata("ReferenceGrouping"));
830
Assert.Empty(t.
References
[0].GetMetadata("ReferenceGroupingDisplayName"));
831
Assert.Equal("true", t.
References
[0].GetMetadata("WinMDFile"));
832
Assert.Equal("Managed", t.
References
[0].GetMetadata("WinMDFileType"));
833
Assert.Equal("false", t.
References
[0].GetMetadata("CopyLocal"));
834
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
835
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
837
Assert.Equal("E.dll", Path.GetFileName(t.
References
[4].ItemSpec));
838
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"));
839
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
840
Assert.Equal("false", t.
References
[4].GetMetadata("CopyLocal"));
841
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
842
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
868
Assert.Equal(8, t.
References
.Length);
870
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[0].ItemSpec.Replace(t.
References
[0].GetMetadata("SDKRootPath"), String.Empty));
871
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[1].ItemSpec.Replace(t.
References
[1].GetMetadata("SDKRootPath"), String.Empty));
872
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[2].ItemSpec.Replace(t.
References
[2].GetMetadata("SDKRootPath"), String.Empty));
873
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[3].ItemSpec.Replace(t.
References
[3].GetMetadata("SDKRootPath"), String.Empty));
874
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[4].ItemSpec.Replace(t.
References
[4].GetMetadata("SDKRootPath"), String.Empty));
875
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[5].ItemSpec.Replace(t.
References
[5].GetMetadata("SDKRootPath"), String.Empty));
876
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[6].ItemSpec.Replace(t.
References
[6].GetMetadata("SDKRootPath"), String.Empty));
877
engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[7].ItemSpec.Replace(t.
References
[7].GetMetadata("SDKRootPath"), String.Empty));
879
Assert.True(t.
References
[0].ItemSpec.IndexOf("x64", StringComparison.OrdinalIgnoreCase) > -1);
880
Assert.Equal("A.winmd", Path.GetFileName(t.
References
[0].ItemSpec));
881
Assert.Equal("true", t.
References
[0].GetMetadata("WinMDFile"));
882
Assert.Equal("SDKWithManifest, Version=2.0", t.
References
[0].GetMetadata("ReferenceGrouping"));
883
Assert.Equal("Managed", t.
References
[0].GetMetadata("WinMDFileType"));
884
Assert.Equal("SDKWithManifestDisplayName", t.
References
[0].GetMetadata("ReferenceGroupingDisplayName"));
885
Assert.Equal("false", t.
References
[0].GetMetadata("CopyLocal"));
886
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[0].GetMetadata("OriginalItemSpec"), true);
887
Assert.Equal("GetSDKReferenceFiles", t.
References
[0].GetMetadata("ResolvedFrom"), true);
889
Assert.Equal("E.dll", Path.GetFileName(t.
References
[4].ItemSpec));
890
Assert.Equal("false", t.
References
[4].GetMetadata("WinMDFile"));
891
Assert.Empty(t.
References
[4].GetMetadata("WinMDFileType"));
892
Assert.Equal("false", t.
References
[4].GetMetadata("CopyLocal"));
893
Assert.Equal("SDkWithManifest, Version=2.0", t.
References
[4].GetMetadata("OriginalItemSpec"), true);
894
Assert.Equal("GetSDKReferenceFiles", t.
References
[4].GetMetadata("ResolvedFrom"), true);
919
Assert.Equal(8, t.
References
.Length);
921
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[0].ItemSpec.Replace(t.
References
[0].GetMetadata("SDKRootPath"), String.Empty));
922
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[1].ItemSpec.Replace(t.
References
[1].GetMetadata("SDKRootPath"), String.Empty));
923
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[2].ItemSpec.Replace(t.
References
[2].GetMetadata("SDKRootPath"), String.Empty));
924
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[3].ItemSpec.Replace(t.
References
[3].GetMetadata("SDKRootPath"), String.Empty));
925
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[4].ItemSpec.Replace(t.
References
[4].GetMetadata("SDKRootPath"), String.Empty));
926
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[5].ItemSpec.Replace(t.
References
[5].GetMetadata("SDKRootPath"), String.Empty));
927
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[6].ItemSpec.Replace(t.
References
[6].GetMetadata("SDKRootPath"), String.Empty));
928
engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.
References
[7].ItemSpec.Replace(t.
References
[7].GetMetadata("SDKRootPath"), String.Empty));
956
Assert.Equal(8, t.
References
.Length);
1112
Assert.Equal(8, t.
References
.Length);
1141
Assert.Equal(8, t.
References
.Length);
1234
Assert.Equal(8, t.
References
.Length);
1280
Assert.Equal(8, t.
References
.Length);
1323
Assert.Equal(8, t.
References
.Length);