Skip to content

Commit 9de36a3

Browse files
committed
ff
1 parent 60b9d46 commit 9de36a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/PublishPackageTask.cs

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

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

9696
// Generate Project
9797
var projectData = await ReadEmbeddedResourceAsync("MonoGame.Library.X.txt");

0 commit comments

Comments
 (0)