microsoft / TemplateStudio

Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
Other
2.65k stars 459 forks source link

Create "Template Studio for WinUI" #4694

Open JoyceLiang opened 1 year ago

JoyceLiang commented 1 year ago

Describe the bug

This is in top 10 Hangs failures in VS 17.6 Preview 2. VS Perf Watson caught 6 hits in past 6 days.

Call Stack kernelbase.dll!WaitForMultipleObjectsEx kernelbase.dll!WaitForMultipleObjects faultrep.dll!WerpReportFaultInternal faultrep.dll!WerpReportFault clr.dll!DoReportFault clr.dll!WatsonLastChance clr.dll!DoWatsonForUserBreak clr.dll!DebugDebugger::Break mscorlib.dll!System.Diagnostics.Debugger.Break ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard+d.MoveNext clr.dll!ExceptionTracker::CallHandler clr.dll!ExceptionTracker::CallCatchHandler clr.dll!ProcessCLRException ntdll.dll!RtlpExecuteHandlerForUnwind ntdll.dll!RtlUnwindEx clr.dll!ClrUnwindEx clr.dll!ProcessCLRException ntdll.dll!RtlpExecuteHandlerForException ntdll.dll!RtlDispatchException ntdll.dll!RtlRaiseException kernelbase.dll!RaiseException clr.dll!RaiseTheExceptionInternalOnly clr.dll!IL_Throw mscorlib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard+d_.MoveNext ?!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard.RunFinishedAsync ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard+<b0>d.MoveNext ?!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard.b_ ?!? ?!Microsoft.Templates.UI.VisualStudio.SolutionWizard.RunFinished microsoft.visualstudio.templatewizard.dll!Microsoft.VisualStudio.TemplateWizard.Wizard.Execute ?!dynamicClass.IL_STUB_COMtoCLR clr.dll!COMToCLRDispatchHelperWithStack clr.dll!COMToCLRWorker clr.dll!GenericComCallStub msenv.dll!WizLoadAndRunFileEx msenv.dll!WizLoadAndRunFile msenv.dll!CNativeEnvironmentInternal::WizLoadAndRunFile microsoft.visualstudio.commonide.dll!DomainBoundILStubClass.IL_STUB_CLRtoCOM microsoft.visualstudio.commonide.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution+d.MoveNext microsoft.visualstudio.commonide.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder`[System.Canon].Start[Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution+d] microsoft.visualstudio.commonide.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution.AddFromTemplateExAsync microsoft.visualstudio.commonide.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution+<>cDisplayClass_0.b ?!? microsoft.visualstudio.commonide.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution.AddFromTemplateEx microsoft.visualstudio.commonide.dll!Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution+<>cDisplayClass_0.b ?!dynamicClass.IL_STUB_COMtoCLR clr.dll!COMToCLRDispatchHelperWithStack clr.dll!COMToCLRWorker clr.dll!GenericComCallStub ?!dynamicClass.IL_STUB_CLRtoCOM ?!Microsoft.VisualStudio.Dialogs.ServiceHelper.AddProjectFromSelectedTemplate ?!Microsoft.VisualStudio.NewProjectDialog.LegacyProjectTemplateProviderService.CreateProject ?!Microsoft.VisualStudio.NewProjectDialog.LegacyProjectTemplateProvider+d.MoveNext mscorlib.dll!System.Threading.ExecutionContext.RunInternal mscorlib.dll!System.Threading.ExecutionContext.Run mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run ?!? microsoft.visualstudio.shell.15.0.dll!Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.Run ?!Microsoft.VisualStudio.NewProjectDialog.ProjectCreationHelper.CreateProject ?!Microsoft.VisualStudio.NewProjectDialog.NpdStateMachine.End ?!Microsoft.VisualStudio.NewProjectDialog.NewProjectDialogViewModel.OnGoNext microsoft.visualstudio.utilities.dll!Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand`+<>c__DisplayClass_0[System.Canon].b windowsbase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall windowsbase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen windowsbase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl windowsbase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper mscorlib.dll!System.Threading.ExecutionContext.RunInternal mscorlib.dll!System.Threading.ExecutionContext.Run mscorlib.dll!System.Threading.ExecutionContext.Run windowsbase.dll!MS.Internal.CulturePreservingExecutionContext.Run windowsbase.dll!System.Windows.Threading.DispatcherOperation.Invoke windowsbase.dll!System.Windows.Threading.Dispatcher.ProcessQueue windowsbase.dll!System.Windows.Threading.Dispatcher.WndProcHook windowsbase.dll!MS.Win32.HwndWrapper.WndProc windowsbase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation windowsbase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall windowsbase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen windowsbase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl windowsbase.dll!MS.Win32.HwndSubclass.SubclassWndProc windowsbase.dll!DomainBoundILStubClass.IL_STUB_ReversePInvoke clr.dll!UMThunkStub user32.dll!UserCallWinProcCheckWow user32.dll!DispatchMessageWorker windowsbase.dll!DomainBoundILStubClass.IL_STUB_PInvoke windowsbase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl presentationframework.dll!System.Windows.Window.ShowHelper presentationframework.dll!System.Windows.Window.ShowDialog microsoft.visualstudio.shell.15.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.WindowHelper.ShowModal microsoft.visualstudio.shell.ui.internal.dll!Microsoft.VisualStudio.PlatformUI.GetToCode.WorkflowDialogService.ShowNewProjectDialog ?!Microsoft.VisualStudio.Dialogs.SVsDialogService.TryInvokeWorkflowDialog ?!Microsoft.VisualStudio.Dialogs.SVsDialogService.InvokeDialog ?!dynamicClass.IL_STUB_COMtoCLR clr.dll!COMToCLRDispatchHelper clr.dll!COMToCLRWorker clr.dll!GenericComCallStub msenv.dll!InvokeNewProjectDlg msenv.dll!HandleNewProjectCommand msenv.dll!HrShellExec msenv.dll!CVSCommandTarget::ExecCmd msenv.dll!CVSCommandTarget::Exec msenv.dll!CAppManagementWindow::HandleDispatchCommand msenv.dll!CAppManagementWindow::WndProc user32.dll!UserCallWinProcCheckWow user32.dll!DispatchMessageWorker msenv.dll!MainMessageLoop::ProcessMessage msenv.dll!CMsoCMHandler::EnvironmentMsgLoop msenv.dll!CMsoCMHandler::FPushMessageLoop msenv.dll!SCM::FPushMessageLoop msenv.dll!SCM_MsoCompMgr::FPushMessageLoop msenv.dll!CMsoComponent::PushMsgLoop msenv.dll!VStudioMainLogged msenv.dll!VStudioMain devenv.exe!util_CallVsMain devenv.exe!CDevEnvAppId::Run devenv.exe!WinMain devenv.exe!scrt_common_main_seh kernel32.dll!BaseThreadInitThunk ntdll.dll!RtlUserThreadStart

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Additional context

No response

Applies to the following platforms:

About your setup