Windows Forms Designer debugging in NetCore #4894
-
We could not able to perform design time debugging in NetCore Windows Forms. We have tried to perform debugging as we perform for dot NetFramework but our source code cannot be able to debug at design time. We have followed the below steps.
Expected result: Observed result: Please let us know if we need to enable any other operations to debug for the NET core project. Note: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The issue is that your control designer runs a different process than devenv.exe because it needs to run on .NET Core, while Visual Studio runs on .NET Framework. To debug, do exactly as you did below. However, before adding your control from the designer, attach to the "DesignToolsServer.exe" process from the instance of Visual Studio that is doing the debugging. |
Beta Was this translation helpful? Give feedback.
The issue is that your control designer runs a different process than devenv.exe because it needs to run on .NET Core, while Visual Studio runs on .NET Framework. To debug, do exactly as you did below. However, before adding your control from the designer, attach to the "DesignToolsServer.exe" process from the instance of Visual Studio that is doing the debugging.