Closed davkean closed 2 years ago
The issue can reproduce from .NET SDK 3.1 to 6.0, the icon of "Form1.cs" node disappeared after uncommented
<UseWindowsForms>true</UseWindowsForms>
; and the icon of "Form1.cs" node appear after re-add back <UseWindowsForms>true</UseWindowsForms>
, then double click it, the Form1.cs[Design] load successfully, please see below reproduce GIF.
@Zheng-Li01 can you copy this issue over to the internal designer repo?
@merriemcgaw, have filed designer issue to track it.
<UseWindowsForms>true</UseWindowsForms>
Expected: The designer to show a friendly error that it can't render similar to .NET Framework Actual:
And the "designer" itself no longer renders correctly and just shows the last source file behind it:
If you readd back
<UseWindowsForms>true</UseWindowsForms>
and save you get: