Exemple #1
0
 public static async Task PackageContainsContentItemsAsync(Project nuProj)
 {
     var package = await nuProj.GetPackageAsync();
     
     foreach (var contentItem in nuProj.GetItems("Content"))
     {
         var expectedPath = GetExpectedPackagePathForContent(contentItem);
         Assert.NotNull(package.GetFile(expectedPath));
     }
 }