Error in Building Robotstudio Add-in

vikram6892
Weingarten ✭
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...
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.
-
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.
-
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.
Categories
- 10.1K All Categories
- 5.1K RobotStudio
- 331 UpFeed
- 10 Tutorials
- RobotApps
- 280 PowerPacs
- 401 RobotStudio S4
- 1.7K Developer Tools
- 229 ScreenMaker
- 2.5K Robot Controller
- 197 IRC5
- 28 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 650 RAPID Programming
- 14 Wizard Easy Programming
- 94 Collaborative Robots
- 2 Job listings