C++ Compile Error "Couldn't find target rules file for target"

You’re opening the solution file, not the .cpp file, yes?