Skip to content

Commit 900e4fa

Browse files
committed
Proper use of --manifest option in package command.
1 parent 0d46ca5 commit 900e4fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/winsdk-CLI/Winsdk.Cli/Services/MsixService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ public async Task<CreateMsixPackageResult> CreateMsixPackageAsync(
619619
620620
// Update manifest content to ensure it's either referencing Windows App SDK or is self-contained
621621
manifestContent = UpdateAppxManifestContent(manifestContent, null, null, null, sparse: false, selfContained: selfContained, verbose);
622-
await File.WriteAllTextAsync(resolvedManifestPath, manifestContent, Encoding.UTF8, cancellationToken);
622+
var updatedManifestPath = Path.Combine(inputFolder, "appxmanifest.xml");
623+
await File.WriteAllTextAsync(updatedManifestPath, manifestContent, Encoding.UTF8, cancellationToken);
623624
624625
if (string.IsNullOrWhiteSpace(finalPackageName) || string.IsNullOrWhiteSpace(extractedPublisher))
625626
{

0 commit comments

Comments
 (0)