Visual Studio (and maybe TFS) somehow (I think maybe during the source merge) got confused in the project path in my solution.
He thinks this is here (examples of paths for simplicity):
C:\My Projects\ExampleSolution\ExampleProjectWrong\ExampleProjectCorrect.csproj
whereas actually the project file is here:
C:\My Projects\ExampleSolution\ExampleProjectCorrect\ExampleProjectCorrect.csproj
I can’t understand in my whole life that this place. I tried:
Removing and re-adding a project from the correct location. An error message appears The project file at C:\My Projects\ExampleSolution\ExampleProjectWrong\ExampleProjectCorrect.csproj could not be found .
Manually edit the .sln file to make sure all references to ExampleProjectCorrect.csproj have the correct paths.
Performing a search in the files in the solution directory for both correct and incorrect paths to try to track where the studio is hiding the wrong path.
Removing cache directories for VS and TFS
I tear out my hair because I can’t recreate the solution, because it is close, since it does not matter 100 projects and is tied to the initial control with several other developers working on it.
Can someone point me in the right direction regarding where it stores this wrong path and / or how to reset so that damn thing loads correctly?
caching tfs visual-studio
Charlie Drewitt Oct 06 2018-11-11T00: 00Z
source share