RobotStudio event

Start RS from Visual Studio with smart component in network drive.

Hello,

I'm developing a smart component for RobotStudio.

The source files are localized in a network drive.

To debug it with VisualStudio, I've added RobotStudio.exe to Debug - Start external program.

I've change RobotStudio.exe.config to add <loadFromRemoteSources enable="true"/>.

When I run RS directly the component is loaded successfully, but when I run it under VisualStudio it failed. "RobotStudio .NET exception: Could not load file or assembly"

It's like the .exe.config file is omitted.

If I start RS first then attach before component is loaded, I've got the same error.

The only working method is to first Start RS then load project with component and then attach RS process.

But with this I cannot debug loading.


☑️2024 - RobotStudio® User Group