I was working on a cpp project when I found a funny issue, to show this, I made a expriment:
First, I got two copies of the project, a local one and one cloned from git, then I delete x64, .vs, .git in them. These two folders are now identical, including .sln and other vs files(compared by WinMerge):
Then, open the .sln in VS2019 and build solution, one folder can succeed, while the other fail:
Whatever folder name is, or swapping .vs folders, or copy-paste the solution folder, or even zip and send them to another pc, the one succeeded will always succeed, the one failed will always fail.
Is it some thing funny or am I just dreaming?