Building an Add-In
For a RobotStudio Add-In project, the build process is as simple as just issuing the command from Visual Studio. Nonetheless, there are several settings that the developer can configure inside the project to automate the discovery and execution of the Add-In inside RobotStudio.
For information on creating an Add-In project, please refer to this topic.
Automating common Build operations
To automatically copy an Add-In's .dll file to RobotStudio's Add-In directory, go to the properties of the project (right-click the project in the Solution Explorer and select Properties) and select the Build Events. Add the following line to the Post-built event command line:
XCopy /y "$(TargetPath)" "%ProgramFiles(x86)%\ABB\RobotStudio version\Bin\Addins"
Assuming this is the directory for your RobotStudio installation. This command will copy your Add-In .dll file to the RobotStudio Add-in directory after building your Add-In.To load your Add-In automatically when RobotStudio starts, navigate to the Add-In's menu and select your Add-in under the General folder. Right-click your Add-in and select whether or not it must auto-load. If the Add-In has not loaded yet, it is possible to load it into RobotStudio from here.