No .rslib file generated

Gustaffson
Netherlands ✭
Hi Everyone,
The problem:
My code outputs all types of files exept the file I want because the .rslib file is nowhere to be found.
Did anyone came across this already and do you have a solution because now I am stuck. I use the exact code as in the how to guide.
With kind regards,
Nick
I am following the how to create a smart component guide (RobotStudio SDK, https://developercenter.robotstudio.com/api/robotstudio/articles/How-To/SmartComponent/Creating-a-SmartComponent.html )
The problem:
My code outputs all types of files exept the file I want because the .rslib file is nowhere to be found.
Did anyone came across this already and do you have a solution because now I am stuck. I use the exact code as in the how to guide.
With kind regards,
Nick
Best Answer
-
Problem solved!
The problem was caused in the Post-build event command line.
Wrong way (this was automaticly set in VS):
copy /y "$(TargetPath)" "$(ProjectDir)"
"D:\RobotStudio\Bin\LibraryCompiler.exe" "$(ProjectDir)SCTest2.xml"Right way:
"D:\RobotStudio\Bin\LibraryCompiler.exe" "$(ProjectDir)SCTest2.xml"copy /y "$(TargetPath)" "$(ProjectDir)"
So you have to swap the post-build event lines if you have the same problem.
Answers
-
Gustaffson said:Problem solved!
The problem was caused in the Post-build event command line.
Wrong way (this was automaticly set in VS):
copy /y "$(TargetPath)" "$(ProjectDir)"
"D:\RobotStudio\Bin\LibraryCompiler.exe" "$(ProjectDir)SCTest2.xml"Right way:
"D:\RobotStudio\Bin\LibraryCompiler.exe" "$(ProjectDir)SCTest2.xml"copy /y "$(TargetPath)" "$(ProjectDir)"
So you have to swap the post-build event lines if you have the same problem.
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