Reputation: 1763
I am not able to either create or open an ASP.NET Core project using Visual Studio 2019. I left no stone unturned but nothing works so far. Every time opening or creating an ASP.NET Core even with an empty template, Visual Studio starts 'not responding'. I have restarted the PC and run Visual Studio as an admin.
FYI: creating ASP.NET Core using CLI has no issue and I was able to open and run the project using VSCode, but not Visual Studio 2019.
FYI: Visual Studio 2019 Community. Version: 16.5.4
Upvotes: 21
Views: 22571
Reputation: 1
Try this in Visual studio command line
devenv.exe /ResetUserData
Upvotes: 0
Reputation: 5383
It looks like scaffolding problem. Maybe caches are corrupted.
First of all, here's how to clear the Component Cache.
You could also need to cleanup your user's temp folder:
%USERPROFILE%\AppData\Local\Microsoft\Team Foundation
%USERPROFILE%\AppData\Local\Microsoft\VisualStudio
%USERPROFILE%\AppData\Local\Microsoft\VSCommon
Then, open the Visual Studio IDE folder in command prompt and Run devenv /resetuserdata from the Visual Studio IDE folder.
Upvotes: 43