Multiple DLLs for SmartComponent
Hello,
I have a solution with multiple projects so build creates also multiple DLLs. Is it somehow possible to tell LibraryCompiler of RobotStudio about it? Because these DLLs should be a part of the created .rslib file otherwise this file will not be able to load in RobotStudio.
If it is not possible, do you have any other idea how to solve this situation?
Thank you for your help.
I have a solution with multiple projects so build creates also multiple DLLs. Is it somehow possible to tell LibraryCompiler of RobotStudio about it? Because these DLLs should be a part of the created .rslib file otherwise this file will not be able to load in RobotStudio.
If it is not possible, do you have any other idea how to solve this situation?
Thank you for your help.
Tagged:
0
Comments
-
Embedding additional assemblies would be a very useful feature.
As a workaround i am using theAppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve;
event in the CodeBehind class. Put the dependent assemblies into one of the RS Addin folder%COMMONPROGRAMFILES(x86)%\ABB Industrial IT\Robotics IT\RobotStudio\Addins
and in the OnAssemblyResolve go through the possible RS Addin directories and check for you dependent assembly;AppConfiguration.AddinDirectories
(from the GUISupport.dll assembly).
Regards.0 -
Hello Michal.
You can add those DLL files to the directory where robot studio has all its binary files (Bin).
In my case, running Robotstudio 6.02 on Windows 7 64bit, the directory would be:
C:\Program Files (x86)\ABB Industrial IT\Robotics IT\RobotStudio 6.02\Bin
I didn't have to modify the xml files for the library compiler in any way, but my guess is that you could also do so in order to solve the problem in a different way.
Hopefully you can solve your problem by just adding the binary files in the directory.0
Categories
- All Categories
- 5.5K RobotStudio
- 390 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 304 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 772 RAPID Programming
- 17 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings