Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core 3 Preview WPF error: "To create this project type, go to Tools..."

I installed .NET Core 3 Runtime and SDK Preview 9 today to make a WPF application. However, when I try to create it, I get the following error: "To create this project type, go to Tools | Options | Environment | Preview Features and check "Use previews of the .NET Core SDK" (similar to Cannot create a WPF .NET core application)

Te only problem is that I have this feature enabled, and I restarted the computer as it suggests, but I still get the same error message.

I have Visual Studio 2019 installed with SDK 3.0.100-preview9 and Runtime 3.0.0-preview9, running on Windows 10.

like image 735
Annosz Avatar asked Sep 06 '19 12:09

Annosz


Video Answer


2 Answers

Had the exact issue. What worked for me was to update Visual Studio 2019 (was a couple of updates behind). Confirmed it works on v.16.3.0

like image 50
newLoop Avatar answered Nov 10 '22 07:11

newLoop


I had a similar issue even after installing the latest updates. My PATH Environmental Variable at the System Level was missing the CORE directory C:\Program Files\dotnet

like image 42
juanvan Avatar answered Nov 10 '22 08:11

juanvan