I've got a solution with several projects in it. One of the projects includes additional Assert methods for unit testing. It references Microsoft.VisualStudio.QualityTools.UnitTestFramework 10.1.0.0
. It also includes other test projects, which reference both Microsoft's UnitTestFramework and my project with additional assert methods.
Whenever I restart visual studio and compile, I get the following warning:
Found conflicts between different versions of the same dependent assembly.
I have tried changing all the references to the UnitTestFramework to 10.1.0.0, but upon restarting Visual Studio seems to set them to 10.0.0.0 again. I have even tried changing the project file outside of Visual Studio, but upon opening the project in Visual Studio the references show the old version in the solution explorer again. When closing Visual Studio without doing any file modifications, it asks whether or not to save changes to the project files.
How do I prevent Visual Studio from changing the version of my referenced UnitTestFramework in my projects?