'Unable to open file, error code = 0x80070002 Visual Studio error. I'm not sure how to fix this

Currently doing a school project using Visual Studio and C++. I can't seem to compile and test my code because I keep getting a Visual Studio pop up that reads

Error: Unable to open file U:\ProjectOne\Debug\Source.obj. Error Code = 0x80070002.

I'm not entirely sure how to go about this as I am still new to programming and have no idea how file management works yet. The only files I am using thus far are a Source.cpp file and a Header.h file in my project folder.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source