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

DenisFR
✭✭✭
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
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 335 IRC5
- 67 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 827 RAPID Programming
- 10 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 106 Collaborative Robots
- 5 Job listings