The project was not built due to "Could not delete ‘project’."

133 Views Asked by At

Firstly I take error given below:

An exception has been caught while processing the refactoring 'Delete Source'

After TFS cache is cleared, TFS server mapping is removed, .lock file in eclipse workspace .\metadata file is cleared, then TFS mapping is created, Get latest, Import is applied again and project can be deleted.After this, I pull project from TFS to my local path again in Problems view, error given below is taken:

The project was not built due to "Could not delete ‘project’.". Fix the problem, then try refreshing this project and building it since it may be inconsistent

Is my mapping can be incorret( Should I checked "Recursive" while setting mapping path)?

Thanks friends!

enter image description here

1

There are 1 best solutions below

1
Edward Han-MSFT On

This Team Explorer Everywhere plugin enables using Team Foundation Version Control (TFVC) within Eclipse. And it is no longer maintained. It works on the operating system of your choice with Eclipse 4.2 (Juno) - 4.6 (Neon) as described here.

If you are still using this plugin, please follow this doc: Importing Projects from Team Foundation Server to import a project from the server to your Eclipse workspace rather than manually mapping and getting files. Manual mapping and getting is error-prone and can cause unpredictable behavior if you did not choose the correct mappings. Instead, importing can check compatibility issues and prevent Eclipse workspace problems.

In addition, for this particular eclipse issue: “The project was not built due to “Could not delete ‘project’.””, it seems that it is because customer has the workspace in a dropbox sysncing folder like this thread answered.