I am trying to build the project on the server, and it says it cannot find a test project (sub project). I have recently added this sub project to the project. I checked the folder and it shows me the abc.js.csproj file. I run 'git clean -xfd' and then build the project and it builds successfully. But when I try to run the same on server, it fails with error cannot find the abc.js.csproj.
I looked for dependencies and they looks okay to me. My guess is during merge the sln file might have got into bad state, but not sure how I can revert to a good file , and preserve my newly added subprojects at the same time.
Any input is appreciated.
This question is quite vague and have very little information. Based on the information available, I am providing below mentioned possibilities to fix the problem.
There could be multiple reasons why the build server is not able to find the project. First of all you need to see why build server is not able to find the project. As mentioned by you, seems you have added external project to the solution. Check if any of the below mentioned trick helps: