Error in Building Robotstudio Add-in
How to copy the .dll file automatically to the Robotstudio Add-in directory ? I get an error while doing so.
I have tried both of the following commands in the Post Build section.
XCopy /y "$(TargetPath)" "C:\Program Files (x86)\Common Files\ABB Industrial IT\Robotics IT\RobotStudio\Addins\"
XCopy /y "$(TargetPath)" "C:\Program Files\ABB Industrial IT\Robotics IT\RobotStudio 6.07 \Bin\Addins\"
Thanks in advance...
I have tried both of the following commands in the Post Build section.
XCopy /y "$(TargetPath)" "C:\Program Files (x86)\Common Files\ABB Industrial IT\Robotics IT\RobotStudio\Addins\"
XCopy /y "$(TargetPath)" "C:\Program Files\ABB Industrial IT\Robotics IT\RobotStudio 6.07 \Bin\Addins\"
Thanks in advance...
0
Answers
-
Hello,You may not have right to write in this directory.Change your destination directory access right.Can you show us your output frame?Maybe something wrong in compilation so AddIn3.dll doesn't exist.☑️2024 - RobotStudio® User Group0
-
Hello Dennis,I have full access to read / write / modify in the directory.If I have to change the Destination directory, will the class library gets complied ? If so, to which destination directory, I should change ?My output frame looks like this after I try to build the class library.Thanks in advance for your inputs.0
-
Change your Post Build section by that:
set ADDINPATH=C:\ProgramData\ABB Industrial IT\Robotics IT\DistributionPackages\<br>set MYCOMPANY=mycompany<br>if not exist "%ADDINPATH%%MYCOMPANY%.$(ProjectName)-6.07.00\RobotStudio\Add-In" mkdir "%ADDINPATH%%MYCOMPANY%.$(ProjectName)-6.07.00\RobotStudio\Add-In"<br>XCopy /y "$(ProjectDir)$(ProjectName).rsaddin" "%ADDINPATH%%MYCOMPANY%.$(ProjectName)-6.07.00\RobotStudio\Add-In"<br>
Changing mycompany by yours.Don't forget to update .rsaddin values too.Now your can find your add-in in Add-Ins tab under Add-Ins - General tree.Load it and enjoy.
☑️2024 - RobotStudio® User Group0
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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings