I cannot create a Windows Form using the . net core

Asked

Viewed 141 times

0

I’m migrating my project from . net Framework pro. net core.

I installed Visual Studio Community 2019 and packages from . net core (including . net core 3.0).

But I cannot create a windows form with . net core. While trying I have this error message : inserir a descrição da imagem aqui

I have already followed the guidelines described but the selection I am guided to do simply does not exist in Visual Studio Community 2019:

inserir a descrição da imagem aqui

I did in 2017, but the problem was not solved.

inserir a descrição da imagem aqui


I also tried to create the form through the command :

dotnet new winforms -o Formulariocore

The project is created but I cannot open it. I have the error message:

The project file is incomplete. Expected imports are missing

I have also tried to reinstall Visual Studio Community 2019. The problem persists.

If anyone can help me with solving this problem, I’d really appreciate it.

1 answer

2


The solution was to go Feramentas -> Options -> Pervia Version Of Resources -> Use Preview Version of . Net core.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.