visual studio keeps adding a _1 to a project name crashing the build

  • Thread starter Thread starter jcolmenares
  • Start date Start date
J

jcolmenares

Guest
A created a project in a solution, lets say the project was named AddonLib. For some unknown reason, the folder where the source code was put was named AddonLib_1. I've been trying to get rid of that _1 for too long now. Things I've tried:

  • removed the project, from TFS and the solution. Renamed the directory. When I try to add the project again, I get the message "The project file "blabla\AddonLib_1\AddonLib.vcxproj" has been moved, renamed or is not on your computer".
  • Edited the xml file of the solution. Check the project file just to be sure. Removed any trace of the project with and without _1. The project AddonLib is no longer part of the solution. Try to add it back again, same error.
  • Cleared the VS cache. Repeated previous step. Same error.

I cannot find any reference to AddonLib_1 on my code, xml files, anything. But everytime I try to load the project, I get the same error.

Looking for the string "AddonLib_1" using findstr gives no results...

This causes the build to break. Even if there are no references (that I can find) to AddonLib_1, when building in the server I get an error "project AddonLib_1/AddonLib.vcxproj could not be found blablabla"....

Besides the solution xml file, the project xml file, the xml files of the few projects that depend on this project, where else can the information that once the project was in the directory AddonLib_1 ?

Continue reading...
 
Back
Top