microsoft-ui-xaml
microsoft-ui-xaml copied to clipboard
[main][WinUI] Visual Studio hang after publish WinUI project
Describe the bug
Visual Studio hang during publish.
Call Stack as below:
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.ni.dll!00007ffa2317f895() Unknown
mscorlib.ni.dll!00007ffac7d70781() Unknown
mscorlib.ni.dll!00007ffac7d61009() Unknown
Microsoft.VisualStudio.DesignTools.DesignerHost.ni.dll!00007ffa20bdf249() Unknown
Microsoft.VisualStudio.Shell.Framework.ni.dll!00007ffab79a226f() Unknown
Microsoft.VisualStudio.DesignTools.DesignerHost.ni.dll!00007ffa20bdf863() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5e74d97e() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5e72897a() Unknown
Microsoft.VisualStudio.Shell.15.0.ni.dll!00007ffa5ff15bd9() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5e707acb() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5e70290b() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5ed5f5bf() Unknown
msenv.dll!00007ffa6ab08304() Unknown
msenv.dll!00007ffa6abc01dc() Unknown
Microsoft.VisualStudio.CommonIDE.ni.dll!00007ffa5ed4bbee() Unknown
[Managed to Native Transition]
Microsoft.VisualStudio.CommonIDE.dll!Microsoft.VisualStudio.CommonIDE.Solutions.HResultExtensions.ExIgnore(System.Action action, bool noAssert, string methodName) Unknown
Microsoft.VisualStudio.CommonIDE.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolutionConfiguration.Activate() Unknown
Microsoft.VisualStudio.CommonIDE.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.IdeAutomationObject<System.__Canon>.RunOnMainThreadHr.AnonymousMethod__19_0(System.Func
Steps to reproduce the bug
Environment: Affected Branch: main Affected Build: 32908.260 Affected Product Language: ENU
Regression info: This issue not repro on 17.4.0 Preview 1.0.
- Create a C# Blank App, Packaged (WinUI 3 in Desktop) Project.
- Right click on project node -> Package and Publish -> Create App Packages
- Select Sideloading with "Enable automatic updates" checked
- Select "Yes, select a certificate" -> Create -> Next -> Next
- Type a valid location in Installer location (e.g.: C:\test) -> Create
Actual Result: Visual Studio hang.
Expected behavior
Publish successfully.
Screenshots

NuGet package version
No response
Windows app type
- [ ] UWP
- [ ] Win32
Device form factor
Desktop
Windows version
Windows 10 (20H2): Build 19042, Windows 10 (1809): Build 17763
Additional context
No response
Seems this issue does not reproduce on the main-32920.413, tracking for a while, if not reproduce any more, I will close it.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.