Unable to build TFS project because files not found

+1 vote

I'm getting an error while trying to build my TFS project

The project file "D:\Binaries\vsts-agent-win7-x64-2.105.7\_work\1\s\CompanyA.Solution\..\..\..\Users\ihalarnkar=\Documents\Visual Studio 2013\Projects\CompanyA.Project2\CompanyA.Project2\CompanyA.Project2.csproj" was not found.

I'm also trying to use some external DLLs and for them I'm getting no reference found

The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

Should I put all the DLLs I'm using in the solution on the TFS server. Please help

enter image description here

May 8, 2018 in Other DevOps Questions by shubham
• 6,830 points
334 views

2 answers to this question.

+1 vote

Your solution reference seems to be causing problems. the project reference should look for the path

..\..\..\Users\ihalarnkar=\Documents\Visual Studio 2013\Projects\CompanyA.Project2\CompanyA.Project2\CompanyA.Project2.csproj.

change the references in your project files. that should do it for you.

answered May 8, 2018 by ajs3033
• 7,240 points
+1 vote
Please make a folder in solution Nd keep all external DLL. While adding reference please take it from that folder only. Now issue will be solve.
answered May 16 by Shashikesh Mishra
Thanks! Will try that.

Related Questions In Other DevOps Questions

+1 vote
1 answer

Import build/release json export files to tfs source control through API

The APIs of "Import build/release definition json ...READ MORE

answered Jul 25, 2018 in Other DevOps Questions by Kalgi
• 37,320 points
246 views
0 votes
1 answer
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,810 points
216 views
0 votes
1 answer

Unable to start apache on mac os x 10.13

I had the exact same issue when ...READ MORE

answered Jun 7, 2018 in Other DevOps Questions by DareDev
• 6,810 points
38 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Copy log files to local machines using Jenkins

Try initializing the variables with values according ...READ MORE

answered May 2, 2018 in Other DevOps Questions by ajs3033
• 7,240 points
39 views
0 votes
1 answer

Unable to create BlueMix DevOps services account

Jazzhub is shut now. try https://console.bluemix.net/devops/getting-started. It's ...READ MORE

answered May 28, 2018 in Other DevOps Questions by ajs3033
• 7,240 points
27 views