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 9, 2018 in Other DevOps Questions by shubham
• 7,340 points
4,794 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 9, 2018 by ajs3033
• 7,300 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 17, 2019 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
• 52,350 points
1,608 views
0 votes
1 answer

Unable to integrate SonarQube analysis results with VSTS Build Summary

This was caused by passing a null ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by Kalgi
• 52,350 points
1,410 views
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,890 points
2,863 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,890 points
1,030 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
+2 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,300 points
1,748 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP