Skip to content

Commit 60b9d46

Browse files
committed
Small update to recursively include files
1 parent a2b3dd3 commit 60b9d46

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Tasks/PublishPackageTask.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public override async Task RunAsync(BuildContext context)
9090
var licensePath = context.PackContext.LicensePath;
9191
var licenseName = System.IO.Path.GetFileName(licensePath);
9292

93-
var librariesToInclude = from rid in downloadedRids from filePath in Directory.GetFiles($"runtimes/{rid}/native")
93+
var librariesToInclude = from rid in downloadedRids from filePath in Directory.GetFiles($"runtimes/{rid}/native", "*.*", SearchOption.AllDirectories)
9494
select $"<Content Include=\"{filePath}\"><PackagePath>runtimes/{rid}/native</PackagePath></Content>";
9595

9696
// Generate Project
@@ -107,6 +107,8 @@ public override async Task RunAsync(BuildContext context)
107107
await File.WriteAllTextAsync(readMePath, description);
108108
await SaveEmbeddedResourceAsync("Icon.png", "Icon.png");
109109

110+
context.Information($"Project Generated:\n{projectData}");
111+
110112
// Build
111113
var dnMsBuildSettings = new DotNetMSBuildSettings();
112114
dnMsBuildSettings.WithProperty("Version", context.PackContext.Version);

0 commit comments

Comments
 (0)