My solution fails to build throwing two errors saying “The local source ‘path/repo/foldername’ doesn’t exist.” The folder used to exist, but has long since been deleted. I cannot find any code anywhere on my computer referencing foldername.
I have searched the two proj files indicated in the error and there is no string matching “foldername”.
I have searched the entire solution (ctrl + shift + f) and I have searched my entire computer (grep), with 0 matches found, so I cannot find any code anywhere that is trying to access that folder.
I have re-cloned the repo multiple times, restarted VS/my computer multiple times, and reinstalled VS.
When I re-clone the repo, I rename ‘repo’ to ‘old-repo’, clone ‘new-repo’, build ‘new-repo’ and the path in the error stays as ‘path/repo/foldername,’ instead of either ‘path/old-repo/foldername’ or ‘path/new-repo/foldername’
The code runs just fine locally. When I pushed up the repo, other people can clone it and run/build just fine. My pipeline builds the code just fine. This is only happening for me locally.
Please help me figure out what is going on and how to fix it.
tiffanie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.