I am working in a large team with multiple branches and merges happening on a regular basis.
One thing that happens on regular basis is that web project files end up with duplicate entries for static content (.js, favicon.ico etc...).
I have two methods to removing the duplicates:
- Delete the item in the Project Explorer (which removes all entries as well as the on disk file), then get the file again from source control and add it back.
- Unload the project file, look for the duplicates, remove them (hoping they are located near one another) then reloading the project.
Both are tedious and I am not satisfied with them - do you have a better/faster/quicker method?