dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.29k stars 957 forks source link

WinForms Designer Support #147

Closed bobasaurus closed 4 years ago

bobasaurus commented 5 years ago

In Visual Studio 2019 Preview 1, there is no project template for generating .NET Core 3 WinForms projects. If I instead run on the command line:

dotnet new winforms -o winforms_core_test

a project is created successfully. I can then open the generated .csproj file in VS2019. But the WinForms designer doesn't seem to be available. Typically the right-click context menu shows "view designer", but it is missing, and shift+f7 after opening the code doesn't work either:

missing designer

On a standard WinForms project, the Designer.cs file is typically shown as a child of the form source code, and the designer is available on the context menu:

what it should look like

Is there any way to use the designer with .NET Core 3, or is it planned in the future?

paul1956 commented 4 years ago

As far as I can tell these instructions are still needed for VB since the preview does not work.

dotMorten commented 4 years ago

@karaulov You saw this note right?

The current Designer is still in a preview state

Also did you submit feedback in Visual Studio when you hit this issue? That's probably going to be more constructive and give the team something actionable.

fatihyildizhan commented 4 years ago

@Karaulov Which version are you using? Did you upgrade to the latest version?