コード例 #1
0
        public void PackageReader_ContentWithMixedFrameworks()
        {
            using (var packageFile = TestPackagesCore.GetLegacyContentPackageMixed())
            {
                var zip = TestPackagesCore.GetZip(packageFile);

                using (PackageArchiveReader reader = new PackageArchiveReader(zip))
                {
                    var groups = reader.GetContentItems().ToArray();

                    Assert.Equal(3, groups.Count());
                }
            }
        }