Problem with C# WinForms .NET Core ... is Olia Gavrysh in here ? :)

JerryM 1,116 Reputation points

Hello boys and girls from MS,
I am trying your C# .NET core WinForms but there is a problem:
In MS VS 2019 v16.8.4 there is no template to create C# .NET core WinForms project.
If I try to load a project from older version MS VS 2019 v16.7.4 I am receiving an error 0x80131500.
See pictures below. What I have to do now ?




An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,370 questions
{count} votes

Accepted answer
  1. JerryM 1,116 Reputation points

    Great ! Thanks. It is like a miracle. It was not working yesterday, but now, it is working ! :)
    But there is still no template as you can see:

3 additional answers

Sort by: Most helpful
  1. Karen Payne MVP 35,201 Reputation points


    From the VS developer command prompt try starting in safe mode as per the following. Safe mode disables anything not absolutely needed, see if the problem persist.

    Next if the above does not work try running the VS Installer and do a repair.

    If that fails, use the feedback/issues button, top right corner of the IDE and report this as a issue.

    Double click on the project file, should look like this.

    <Project Sdk="Microsoft.NET.Sdk">  
    		<RootNamespace>YourNamespace goes here</RootNamespace>  
    0 comments No comments

  2. Castorix31 82,036 Reputation points

    I have VS 2019 v16.8.4 version and Winforms .NET Core is :


    I got same error as you
    I changed to .NET 5.0, I re-started the project and it worked :


    0 comments No comments

  3. JerryM 1,116 Reputation points

    ok, thanks you for your help

    0 comments No comments