error MSB3202: The project file 'xxx' was not found

1,885 views
Skip to first unread message

andrewc

unread,
Jul 27, 2015, 10:32:40 AM7/27/15
to ccnet-user
We have many solutions building reliably for months, but after recent check ins one is failing with :
error MSB3202: The project file "xxx" was not found.
xxx is a local file path to a proj file on the CI server.
After checking the CI server the proj file is indeed missing, as if it no longer gets copied down from source control.
Any ideas or help is much appreciated.
The build works fine on the local dev machine.

We're using version : 1.8.5.0

Thanks

Ruben Willems

unread,
Jul 27, 2015, 10:36:14 AM7/27/15
to ccnet...@googlegroups.com
Has a project been added,renamed or moved?
is so, make sure that the solution is also checked in.


another option is that you use the filtered source control
http://www.cruisecontrolnet.org/projects/ccnet/wiki/Filtered

and that the project is on a path that is excluded.


with kind regards
Ruben Willems


--

---
You received this message because you are subscribed to the Google Groups "ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ccnet-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

andrewc

unread,
Jul 27, 2015, 12:04:19 PM7/27/15
to ccnet-user, ruben....@gmail.com
Some new items have been added to the project in question.
Have tried checking in the sln but it still fails.
I'm not filtering source control.
Any ideas?
This sln was has had lots of changes with no problem, so confused why this error suddenly occurs?
Many thanks

Ruben Willems

unread,
Jul 27, 2015, 1:45:40 PM7/27/15
to andrewc, ccnet-user
Hi

in that case I would first get all source from the solution in a new place,
another pc or at the build server.

check that all projects and files are there, (this will probably be the case, but check to be sure)


open the solution from there, and include any needed projects and files.
Check it in.


now do a force get latest on the programmers pc, and recheck.
just get the solution, do not try to merge it or so.

this should fix the problem.


andrewc

unread,
Jul 28, 2015, 9:32:40 AM7/28/15
to ccnet-user, ruben....@gmail.com
Oh dear I'm really struggling with this!
Tried your suggestion. On the build server in a new area all files get down loaded from source control (including the ones that are supposedly missing).
Tried checking everything in again, but the problem remains. Some files just down get copied down to the working dir on the build server.
Thanks

Ruben Willems

unread,
Jul 28, 2015, 10:11:51 AM7/28/15
to andrewc, ccnet-user
I would now change to a separate pc, or another drive or so on a laptop,
so you do not mess up configuration / caching on the buildserver.

some sourcecontrol systems like tfs / source safe remember where a server / user combo downloads the files to,
and changing that confuses them.

so if you're using tfs, it's best to set cleancopy = true



with kind regards
Ruben Willems


andrewc

unread,
Jul 29, 2015, 12:20:16 PM7/29/15
to ccnet-user, ruben....@gmail.com
Got this fixed in the end.
Clean copy and delete work space were both true, but there was a rogue workspace which could not be deleted by CC.
Not sure how that situation occurred - perhaps a permission or some other issue when CC was trying to delete the workspace.
Anyway, I used sidekick to delete the workspace and forced a build. All files appeared from source control it worked fine.
Thanks for your help.
Reply all
Reply to author
Forward
0 new messages