question

PaulvanderWesthuizen-2004 avatar image
0 Votes"
PaulvanderWesthuizen-2004 asked DylanZhu-MSFT commented

VS2019 C# Designer not working

When opening designer mode I get this error.

System.Exception
The app didn't start. (Exception from HRESULT: 0x8027025B)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.DesignTools.UwpSurfaceDesigner.SurfaceIsolation.UwpSurfaceProcess.<SafeCreateViewAsync>d_46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.DesignTools.UwpSurfaceDesigner.SurfaceIsolation.UwpSurfaceProcess.<SafeCreateViewAsync>d
46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.DesignTools.UwpSurfaceDesigner.SurfaceIsolation.UwpSurfaceProcess.<Initialize>d
_60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

vs-generalvs-debuggingvs-msbuild
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi PaulvanderWesthuizen-2004,

Is you project a uwp project? If so, please try to change your target version and minimum version of your project. If not, could you please provide more details about your project, which could help us to solve it.

Best Regards,
Dylan

1 Vote 1 ·

Hi,
Is there any update about this issue? Maybe you could try to create a new project to check if the designer could work.

Look forward to your reply.

Best Regards,
Dylan

0 Votes 0 ·

0 Answers