Reputation: 362
I wanted to create a new solution with a new project (any project template) in VS 2019 and I faced this error:
Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
I tried:
Delete all settings folders for Visual Studio in %UserProfile%
and %AppData%
.
Then I uninstalled and installed it.
But nothing happened. How can I solve this?
Upvotes: 1
Views: 1715
Reputation: 362
Thanks to Sara Liu, I found a solution:
In System Properties, Advanced, Environment Variables, System variables, set PATH:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
Upvotes: 2