2 Added the fact that Code Clone Detection is available only since VS2012. Gave the real name of the feature. Added the link.
source | link

It sounds like you are already in the situation, so I would suggest:

  1. use the studio "Analyze solution for code clones" feature

    Use the new feature in Visual Studio 2012 called Code Clone Detection.

  2. enter all the identicals and the top 25% of similar into the backlog

    Enter all the identical and the top 25% of similar into the backlog.

  3. make the folks creating the duplicates clean it up

    Make the folks creating the duplicates clean it up.

Do this a few times and people will start to realize they need to be more careful.

If you don't have Ultimate or Premium edition then look at CodeRush or Resharper they have similar features.

It sounds like you are already in the situation, so I would suggest:

  1. use the studio "Analyze solution for code clones" feature
  2. enter all the identicals and the top 25% of similar into the backlog
  3. make the folks creating the duplicates clean it up

Do this a few times and people will start to realize they need to be more careful.

If you don't have Ultimate or Premium edition then look at CodeRush or Resharper they have similar features.

It sounds like you are already in the situation, so I would suggest:

  1. Use the new feature in Visual Studio 2012 called Code Clone Detection.

  2. Enter all the identical and the top 25% of similar into the backlog.

  3. Make the folks creating the duplicates clean it up.

Do this a few times and people will start to realize they need to be more careful.

If you don't have Ultimate or Premium edition then look at CodeRush or Resharper they have similar features.

1
source | link

It sounds like you are already in the situation, so I would suggest:

  1. use the studio "Analyze solution for code clones" feature
  2. enter all the identicals and the top 25% of similar into the backlog
  3. make the folks creating the duplicates clean it up

Do this a few times and people will start to realize they need to be more careful.

If you don't have Ultimate or Premium edition then look at CodeRush or Resharper they have similar features.