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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings