Skip to content

Commit

Permalink
Pack as <none> not <content> (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
AristurtleDev authored Apr 30, 2024
1 parent f3f67ff commit b515228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tasks/PublishPackageTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public override async Task RunAsync(BuildContext context)
if (licensePath.EndsWith(".txt")) licenseName += ".txt";
else if (licensePath.EndsWith(".md")) licenseName += ".md";

var contentInclude = $"<Content Include=\"binaries\\**\\*\" CopyToOutputDirectory=\"PreserveNewest\" />";
var contentInclude = $"<None Include=\"binaries\\**\\*\" CopyToOutputDirectory=\"PreserveNewest\" />";

var projectData = await ReadEmbeddedResourceAsync("MonoGame.Tool.X.txt");
projectData = projectData.Replace("{X}", context.PackContext.ToolName)
Expand Down

0 comments on commit b515228

Please sign in to comment.