Warning: Test Run deployment issue: ... 'System.Data.SqlServerCe' ...

Ask general questions here.
Posts: 12
Joined: Tue Jul 17, 2018 8:15 am

Warning: Test Run deployment issue: ... 'System.Data.SqlServerCe' ...

Post by radimag » Mon Oct 01, 2018 3:41 pm

Hi all,

I'm following this tutorial for the moment: "Running Ranorex Automated Tests with Microsoft Test Manager"
https://www.ranorex.com/blog/running-ra ... plementing

By running my codedUI test manually it gives me the following error:

[1/10/2018 11:28:10 Informational] Executing test method 'employer.CodedUITest1.CodedUITestMethod1'
[1/10/2018 11:28:10 Informational] ------ Run test started ------
[1/10/2018 11:28:16 Warning] Warning: Test Run deployment issue: The assembly or module 'System.Data.SqlServerCe' directly or indirectly referenced by the test container 'c:\users\sd595830\source\repos\employer\employer\bin\debug\employer.dll' was not found.
[1/10/2018 11:28:17 Informational] ========== Run test finished: 1 run (0:00:06,7910675) ==========

After adding the reference, System.Data.SqlServerCe.dll it still gives me the same error.

Does someone know how I can fix this error?

OS: Windows 10
Ranorex: 8.2.1
Visual studio: 2017
Naamloos.png (55.1 KiB) Viewed 711 times

User avatar
Posts: 324
Joined: Fri Jan 09, 2015 3:24 pm

Re: Warning: Test Run deployment issue: ... 'System.Data.SqlServerCe' ...

Post by RobinHood42 » Tue Oct 02, 2018 9:06 am

Hi radimag,

Please try to add the Ranorex runtime folder (or another dedicated folder containing all Ranorex DLLs) to the DeploymentItems:
                [DeploymentItem(@"C:\Program Files (x86)\Ranorex 8.2\Bin\Runtime\")]

This should ensure that all DLLs are available at runtime.