TFS 2012 and Microsoft Fakes

Sep 30, 2013 at 10:41 AM
Hi all:
I am trying to run a test project with Fakes, but I am getting these error on build on TFS 2012.
In the build, I got the error that there is no QualityTools namespace under Microsoft namespace.
I have checked that in the build server, there is no path to the dlls for Fakes:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies\Microsoft.QualityTools.Testing.Fakes.dll neither Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll

I copy them to a local directory on my solution, and added them to the TFS source repository, and add the reference to them on my test project, and now the error I got is a Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider

Is it normal that Microsoft Fakes assemblies does not exist after install TFS 2012?
Any ideas of what I am doing wrong?
Oct 1, 2013 at 4:44 PM

Microsoft Fakes is part of Visual Studio, not TFS. You need to install appropriate edition of the Visual Studio 2012 on build agent then compile it again.

Hope this helps.
Marked as answer by mikeFourie on 1/2/2014 at 2:45 AM