Problems in SimulationTurtorial2.


When I start SimulationTurorial2 I have the next error. The simulation start anyway but the dashboard don't appears. I recompiled the project in Visual Studio but it don't works anyway. Please if you can give me the solution. I almost sure that is trivial but for a newbie is it difficult to find it.

Csar Flores

*** Manifest Loader: Creating service failed: http://schemas.microsoft.com/robotics/2006/01/simpleda
shboard.html.
Reason: Exception has been thrown by the target of an invocation.
InnerException: Could not load file or assembly 'SickLRF.Y2005.M12.Proxy, Version=1.0.424.5, Culture
=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manife
st definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) [04/30/200
7 21:37:16][http://flores-9ed83e6f:50000/manifestloader/195680af-4e3c-4bb7-bbb5-30ecc5c89722]

[929 byte] By [holasfasdfs] at [2008-1-8]
# 1

it looks like some services have been recompiled, others have not, which means the CLR runtime, using strong name signing, does not recongize dependencies.

If using MSRS 1.5 CTP2 or CTP1, i would simply load the simulation tutorial 2 solution (SLN file) and recompile all projects in it. This should re build all the dependent services you need.

in MSRS 1.0, i would go ahead and recompile samples\samples.sln

GeorgeChrysanthakopoulos at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 2

I am having the same problem (new to MSRS and can not get the simulation tutorial 2 to run)

I loaded the SLN file, clicked build->rebuild solution and it still fails. Can you give more details?

Gary

garyfreder at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 3

I am having the same problem, I'm new to MSRS but not with the .net and VisualStudio.

To resolve this problem I've found the following solution:

1) Load <your path>\Microsoft Robotics Studio 1.5 (CTP May 2007)\samples\Misc\SimpleDashboard\SimpleDashboard.sln and rebuild

2) Load SimulationTurorial2 solution, build->rebuild...


Enjoy

Cybernox

Cybernox at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 4

That did it! I need to learn VisualStudio :-)

Thanks!

Gary

garyfreder at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 5
Cybernox wrote:

I am having the same problem, I'm new to MSRS but not with the .net and VisualStudio.

To resolve this problem I've found the following solution:

1) Load <your path>\Microsoft Robotics Studio 1.5 (CTP May 2007)\samples\Misc\SimpleDashboard\SimpleDashboard.sln and rebuild

2) Load SimulationTurorial2 solution, build->rebuild...


Enjoy

Cybernox

I had the same problem and your suggestion solved the issue. Thanks!

UriKartoun at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 6

Cybernox wrote:

I am having the same problem, I'm new to MSRS but not with the .net and VisualStudio.

To resolve this problem I've found the following solution:

1) Load \Microsoft Robotics Studio 1.5 (CTP May 2007)\samples\Misc\SimpleDashboard\SimpleDashboard.sln and rebuild

2) Load SimulationTurorial2 solution, build->rebuild...


Enjoy

Cybernox

This solves only the half problem here. I did as above but then the next error appears:

*** Manifest Loader: Creating service failed: http://schemas.microsoft.com/robot
ics/2006/01/simpledashboard.html.
Reason: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Au
snahmefehler verursacht. > System.IO.FileLoadException: Die Datei oder Assemb
ly GameController.Y2006.M09.Proxy, Version=1.5.507.0, Culture=neutral, PublicKey
Token=31bf3856ad364e35 oder eine Abh?ngigkeit davon wurde nicht gefunden. Die ge
fundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis übe
rein. (Ausnahme von HRESULT: 0x80131040)
Dateiname: GameController.Y2006.M09.Proxy, Version=1.5.507.0, Culture=neutral, P
ublicKeyToken=31bf3856ad364e35
bei Microsoft.Robotics.Services.SimpleDashboard.SimpleDashboardService..ctor(
DsspServiceCreationPort pCreate)

Rebuild of GameController sample project does not solve this problem. :-(

AlexanderDahl at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 7

By coincidence, I had a similar problem today when I modified Simulation Tutorial 2.

To solve the problem I rebuilt the Game Controller service. Then I had to rebuild the Simple Dashboard service. And finally I rebuilt the Simulation Tutorial 2 (again).

Unfortunately, it sometimes takes more than one rebuild because of the interdependencies between services.

Suggestion to Microsoft: There should be a batch script to rebuild all of the supplied sevices. This versioning problem seems to occur quite frequently.

Trevor

TrevorTaylor at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 8
I've done it by building some sample projects again. It seems to me that the build of the Simple Dashboard was not successful in the first attempt. Thanks anyway. :-)
AlexanderDahl at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 9

I have had the same problems with versioning and had to spend several times recompiling the services if different order before I was able to get Sim tut 2 to work.

Also, I wanted to chime in with my vote for the batch script idea. Is there something lile that already available or in the works?

Thanks,

Sara

SaraMorgan at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 10

As of our 1.5 release, each sample solution is supposed to contain projects for each dependent service so it should be sufficient to rebuild the solution to make things work. If you have an example where the solution doesn't contain all of the right service projects, please let us know.

-Kyle

KyleJ-MSFT at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 11

Hi Kyle,

Yes, I was having the problem with 1.5 and all of the tutorials that used the Simple Dashboard. At first it complained of the SickLRF, but after doing a build all of the solution, it resolved that problem and complained about the GameController, even though the GameController project is included with the Simple Dashboard solution.

Honestly, I got lost because I tried all sorts of things before I finally got it to work. I think I made it work only when I selected the GameController project inside of the Simple Dashboard solution (and not from the seperate project that has it's own solution - that DID Not work), and did a build on just that project. I then did a build on just the SimpleDashboard project and now it is working. There is definitley an issue here - I am just not 100% sure where the problem resides yet. I will let you know if I figure out more about it.

Thanks,

Sara

SaraMorgan at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 12

I can confirm that there's definetely an issue with Simulation Tutorial2, as Sara mentioned above.

I got it to work by using Build->Clean Solution on the GameController, SimpleDashboard, and Tutorial2 projects and then doing a Build Solution on all of them.

Cheers!

phitastic at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...

Microsoft Robotics Studio

Site Classified