Silent
Silent

Reputation: 39

I cannot run the project gives the error STG_E_FILENOTFOUND in visual Studio

I cannot run the project it gives the error message Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND)

But the issue is that the error is shown only for the following project. I can build and run any other project.

I tried rebuilding the project after deleting the bin and the obj folders from the project but it still didn't fix the issue.

Upvotes: 3

Views: 1736

Answers (2)

IceCode
IceCode

Reputation: 1751

What worked for me was to first run the application in debug mode (F5), then run the application without debugging (ctrl + F5).

Upvotes: 0

SexyRober
SexyRober

Reputation: 41

Removing the solution .vs hidden folder and all the bin & obj files worked for me. Good luck!

Upvotes: 4

Related Questions