I have recently upgrade from Microsoft Visual Studio 2013 Update 3 (Premium edition) to Microsoft Visual Studio 2013 Update 4 (Premium edition) and now my existing unit test projects have stopped compiling. It fails with the error:
The type 'Microsoft.QualityTools.Testing.Fakes.Stubs.StubBase`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.QualityTools.Testing.Fakes, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
We, along with a lot of other people, had a similar issue where a bug was introduced in VS2013 that could be resolved by manually deleting the .messages file (via File Explorer or solution explorer with view all files enabled) inside FakesAssemblies folder inside the project folder. This however doesnt fix the issue, even if I delete the entire FakesAssemblies folder.
The reference to the project (including correct version is their within the project). I have deleted the reference and readded it and it has no effect, they still fail to compile.
The unit test projects still compile and pass on other colleagues machines with Visual Studio 2013 Update 3.
New projects unit test projects using MS fakes also fail to build.
So short of, uninstalling the Update 4 is there anything else I can try?
If not I'll log a bug on Microsoft Connect.
We had some further errors to do with Shims but we just converted these to Stubs.
We had to upgrade all our projects this way manually, all VS instances including the build server.