Where do I place the .dlls to allow my C# application to control a robot, without installing the SDK

I have written a .dll to provide an abstraction layer between my application and the robot controls. I have robot studio and the Robot Studio SDK installed on my PC. I am able to run and control the robot as needed with my development machine.

I am now at the stage where I will be installing my application and .dll on the target PC. I have copied ABB.Robotics.Controllers.PC.dll to the same folder as the .dll I have written (The same as it appears on my development PC). When running application on the target PC I get an error: 

Could not load file or assembly 'RobotStudio.Services.RobApi, Version=25.1.11133.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

When copying the .dll's from the same folder as the ABB.Robotics.Controllers.PC.dll in the SDK, I still get the error.

It seems that no matter what I do I cannot get this error to go away unless I am referenceing the ABB.Robotics.Controllers.PC.dll in the RobotStudio 2025 SDK folder.

I also need to archive the correct files so that I can install this on a new PC if the original fails.

What files do I need to copy to allow my application to run on my target PC?

Answers