dotnet / dotnet/docs-maui

Docs for Creating MSIX package from CLI for Publishing to Windows Store

Open
#2,890 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-maui/subsvc dotnet-mobile/svc Pri2
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

### Type of issue

Missing information

### Description

I am trying to create a .msix package to upload to the Windows store as described [here](https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-visual-studio-folder?view=net-maui-9.0). The issue is that the docs only describe how to do that with Visual Studio. I want to achieve the same result with VSCode and CLI. I tried the following Commands but didn't get the .msix.

dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true

dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 --self-contained

### Page URL

https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-cli?view=net-maui-9.0

### Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/windows/deployment/publish-cli.md

### Document Version Independent Id

d0d904f8-2ff9-df92-6399-dc2ac35310b7

### Platform Id

41489e13-7b7f-563d-b444-793b41a9748a

### Article author

@davidbritch

### Metadata

* ID: d0d904f8-2ff9-df92-6399-dc2ac35310b7
* PlatformId: 41489e13-7b7f-563d-b444-793b41a9748a
* Service: **dotnet-mobile**
* Sub-service: **dotnet-maui**

[Related Issues](https://github.com/dotnet/docs-maui/issues?q=is%3Aissue+is%3Aopen+d0d904f8-2ff9-df92-6399-dc2ac35310b7)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.