I have an automation test suite in Visual Studio 2012, using MsTest.
I can successfully run test via Visual Studio using MsTest and Resharper.
But when I try to run my MsTests via command prompt the following error is returned:
Run has the following issue(s):
Warning: Test Run deployment issue: The assembly or module 'System.Data.SqlServerCe' directly or indirectly referenced by the test container 'c:\project.dll' was not found.
To fix this I have tried:
Adding System.Data.SqlServerCe reference to my project.
Setting the reference setting 'Copy Local' = True
Edited my file: vstest.executionengine.x86.exe with
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<qualifyAssembly partialName="System.Data.SqlServerCe" fullName="System.Data.SqlServerCe, Version=3.5.1.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</assemblyBinding>
Also Edited my app.config to incude the same assemblyBinding as above.
None of these worked. So this error is only seen when I try to run my tests via command prompt.
Any thoughts folks?