microsoft / msix-packaging

MSIX SDK
MIT License
964 stars 163 forks source link

[BUG] Package project for WPF + Blazor did not include wwwroot folder #488

Closed albertwoo closed 2 years ago

albertwoo commented 2 years ago

Project MSIX SDK

Describe the bug Use this project https://github.com/jorgearteiro/BlazorDesktopWPF as the base project and add a "Windows Application Packaing Project" for it and create a bundle you will see the wwwroot folder is not included

To Reproduce Steps to reproduce the behavior:

Expected behavior All the razor resource should be included

Screenshots If applicable, add screenshots to help explain your problem.

Platform Visual studio 2022 preview 7

Additional context Add any other context about the problem here.

anarvekar-msft commented 2 years ago

@jorgearteiro could you please chime in here? Is this the expected behavior for your project?

jorgearteiro commented 2 years ago

I never tested the packaging project, but set this property to true in your project file CopyToOutputDirectory I hope this helps.

anarvekar-msft commented 2 years ago

If the previous answer did not suffice or you still have questions on this, please feel free to reopen the issue.