How to get rid of multiple .vsmdi-files

· March 26, 2008

Here is a thing that have created a lot of confusion and frustration in our projects; when you have a Microsoft Test project under source control the .vsmdi-files gets created multiple times. In one project we have 48 of them. All under source control.

I have even been in contact with Microsoft but they only showed me a workaround that didn’t did the complete trick.

Here is a guy that seem to have solved it. Looks very promising. What you need to do is:

  • Delete all the vsmdi-files from Source Control
  • Make sure that all the developers and testers deletes all the vsmdi-files locally as well
  • Create one .vsmdi-file, by running the test locally at one workstation. Check that file into Source Control
  • Follow the steps in this article to make the .vsmdi-files become non-mergable for the Team Foundation Server project. [UPDATE] To be able to do this you’ll need the permission “AdminConfiguration” which apparently is a separate permission.

Quite easy - when you now how to avoid it.

Twitter, Facebook