Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSIX packaging for arbitrary .NET project types #45045

Open
daniel-lerch opened this issue Nov 22, 2024 · 4 comments
Open

MSIX packaging for arbitrary .NET project types #45045

daniel-lerch opened this issue Nov 22, 2024 · 4 comments
Labels
untriaged Request triage from a team member

Comments

@daniel-lerch
Copy link

daniel-lerch commented Nov 22, 2024

Is your feature request related to a problem? Please describe.

The .NET SDK supports streamlined MSIX publishing for WinUI 3 and MAUI projects. For other project types one can use an application packaging project. Packaging projects are cumbersome to use, more complicated to use than dotnet in CI pipeline and cannot pass MSBuild properties to child projects easily.

Describe the solution you'd like

I would like to have MSIX packaging tools for arbitrary .NET project types including Avalonia, WPF, WinForms, Console. It should be compatible with other features like single file executable, trimming and Native AOT. Furthermore, it should be able to build Appx Bundles for multiple architectures.

Additional context

Given an app manifest and a Windows SDK installed, it should be quite easy to create an MSIX package from publish output files (PowerShell example). I do not consider Appx Bundles with packages for specific locales in the scope of this issue.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Nov 22, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

1 similar comment
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@Sergio0694
Copy link
Contributor

This should be possible with Microsoft.Windows.SDK.BuildTools.MSIX. If not, this feels like a feature request for that package. I don't really see the .NET SDK adding logic specific for creating MSIX packages, as it would just be duplicate. For context, that package has the logic for creating MSIX packages that is used by both UWP (.NET 9) apps, and WinUI 3 apps (and MAUI too, indirectly, I think).

@daniel-lerch
Copy link
Author

Thank for pointing that out @Sergio0694. I agree that it makes sense to reuse that package for other scenarios as well.

Unfortunately, Microsoft.Windows.SDK.BuildTools.MSIX is poorly documented and only mentioned in the Visual Studio Release Notes and indirectly in your excellent Dev Blog article.

Can you give me hint, where I can find the project website and the repository for Microsoft.Windows.SDK.BuildTools.MSIX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants