Visual Studio
Visual Studio
03 Oct 2014, 00:48
Hi,
I would like to know how to add a second Robot in the same solution (visual studio) than a other one.
I already have a solution with a robot that a created via cAlgo. Now i would like add a new robot to this solution directly from Visual Studio.
I tried to create a library and create a robot in it. The compilation was perfect but i don't see it in cAlgo.
The .algo file is not created.
Can you explain how to create this algo file in the right directory. I'm using VS 2013.
Regards,
Sky.
Replies
Spotware
03 Oct 2014, 17:59
RE:
If you can see cBot in cAlgo, it means algo file was created.
cAlgo doesn't supports multiple cBots per solution. It means when you will click build cBot, only one algo file will be created.
For multiple cBots editing use VS.
SkyAction said:
Hello,
I did exactly what you said and the algo file is not present.
I see the Robot in the cAlgo, but it tell me that the source code is unavailable.
Any ideas ?
@Spotware
Spotware
03 Oct 2014, 09:42
RE:
Currently VS extension doesn't support creating Algo Projects. You can use next workaround in case you want to add an algo project right from VS.
1. Add a Class Library project to your solution.
2. Unload project (right click on unloaded project in solution explorer)
3. Edit project (from solution explorer)
4. Add following line right bellow <ProjectGuid> tag
5. Reload project
6. Add cbot class
7. Build it.
SkyAction said:
@Spotware