We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b9d46 commit 9de36a3Copy full SHA for 9de36a3
Tasks/PublishPackageTask.cs
@@ -91,7 +91,7 @@ public override async Task RunAsync(BuildContext context)
91
var licenseName = System.IO.Path.GetFileName(licensePath);
92
93
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>";
+ select $"<Content Include=\"{filePath}\"><PackagePath>{System.IO.Path.GetDirectoryName(filePath)}</PackagePath></Content>";
95
96
// Generate Project
97
var projectData = await ReadEmbeddedResourceAsync("MonoGame.Library.X.txt");
0 commit comments