Yes, this is a problem caused by Remote Desktop Connections. RDC is (by default) setup to use create a new directory each time you log in remotely. Also, it’s setup (separate setting) to delete that directory once you log off. The real solution is to remove these two settings so that it will just use your standard Temp folder, not deleting the files at logout.
There are also two workarounds to this problem:
- Workaround 1: Delete your .suo file for the solution before opening the solution or rebuilding.
- Workaround 2: Use the “Rebuild All” option for the fix
Note: Setting up RDC can really only be done if you’re logged on as an administrator on the box, thus, the two workarounds.