Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a very strange issue with Visual Studio 2012.

On one of the branches in our SVN repository, some files appear duplicated in the Solution Explorer tab. The files do not cause problems and both entries in the tree seem to refer to the same file. It's just a little disconcerting.

I have tried a diff on the .csproj files and .sln file, but cannot see any difference that might cause this issue.

Screenshot showing duplicated file

Any ideas?

This is on 64bit Windows 7, Plugins installed: Visual SVN 3.0 and Resharper 7

share|improve this question
1  
Disable both of your plugins to verify that the problem is not caused by them. But my guess the reason its duplicated is because the entry for the file appears twice in the solution. –  Ramhound Jan 17 '13 at 16:41
    
Check your solution *.sln and project *.csproj files for duplicates. Looks likes a duplicate entry is the root cause. –  bahrep Jan 17 '13 at 17:01
1  
You are correct, there were duplicates. Silly me, first one to add this as an answer gets an accept! –  Rob Stevenson-Leggett Jan 18 '13 at 16:17

1 Answer 1

I had the same problem and they were duplicated in the project file. I edited the file, found the dupes and removed them. I'm guessing it happened as part of a bad merge conflict by someone. My problem happened in VS 2010 incidentally.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.