Keep Calm and Carry On

Visual Studio Error HERSULT E_FAIL

Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging

用visual studio 2019打开项目时出现这个错误:

  1. 关闭vs2019
  2. 转到项目目录,删除隐藏的.vs目录
  3. 启动vs2019,打开解决方案即可