microsoft / microsoft/microsoft-ui-xaml

Bug title

Open
#10,043 2 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

My Winui3 program runs smoothly on VS2022, whether debugging or deploying it locally. However, when I run and publish it to the store, compile and package it as MSIX, install the application, and open it, there is no response

### Steps to reproduce the bug

1. Right click menu, publish and deploy, create application package
2. Choose Microsoft Store as the HiToDo I offer
3. Select system, x64, Release (x64)
4. After clicking create, the packaging was successful
5. Run the Windows test program and pass the test
6. Click on HiToDo_1.0.3.0-x64.msix to install the application
![image](https://github.com/user-attachments/assets/2812d16c-1e0d-4b58-8224-4942dbd56fed)

8. After clicking on the application icon, there is no response

### Expected behavior

The program can run normally

### Screenshots

![image](https://github.com/user-attachments/assets/1fdf8131-af35-42c6-9164-cb7d11372018)
![image](https://github.com/user-attachments/assets/de1c05a7-e665-4389-a1f7-7b5f615764a6)

### NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

### Windows version

Windows 11 (22H2): Build 22621

### Additional context

This is My Obj.csproj Config:

```

WinExe
net8.0-windows10.0.19041.0
10.0.19041.38
10.0.17763.0
HiToDo
app.manifest
x86;x64;ARM64
win-x86;win-x64;win-arm64
win10-x86;win10-x64;win10-arm64
win-$(Platform).pubxml
true
true
Assets\WindowIcon.ico
128x128.png
README.md
True
False
False
SHA256
True
False
True
Auto
x86|x64
0
zh-CN

```

Contributor guide

Open the contributing guide

Research direction

Reproduce the Microsoft Store MSIX workflow using the listed Windows 11, WinUI 3, and Windows App SDK versions. Start by reviewing Obj.csproj and app.manifest, then inspect the Windows test program results and installed-package behavior; done means identifying why the installed package does not launch or isolating the missing diagnostic.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.