It is currently May 20th, 2013, 8:00 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: New SIM Service will not show up in Add option
PostPosted: May 14th, 2009, 12:12 am 
Offline
3D Simulation Rookie
3D Simulation Rookie

Joined: May 14th, 2009, 12:09 am
Posts: 1
I just installed the SimplySim NXT, Microsoft Visual C# Express 2008, and Microsoft Robotics Developer Studio 2008 Express. I modifed the sample1service and renamed and I cannot get it to show up once I attempt to add a service. How do I get this to show up as an option to add. I have deleted the contrcatDirectory.bin file and it still will not show up. Please advise.


Top
 Profile  
 
 Post subject: Re: New SIM Service will not show up in Add option
PostPosted: May 14th, 2009, 8:10 am 
Offline
SimplySim Team
SimplySim Team
User avatar

Joined: December 11th, 2008, 7:39 pm
Posts: 118
Legocoach wrote:
I modifed the sample1service and renamed


How have you renamed it ? A service must have a unique contract identifier and a specific assembly. If you have multiple service in the same assembly, each service and contract must be in different namespace.

The Lego NXT dashboard uses MSRDS control panel service to read the assemblies in MSRDS bin folder and get all the services. It displays the "DisplayName" of the service.

For provided samples, the three services are defined in the same assembly, but in different namespaces. Each service has a unique contract and a unique display name.

Code:
[DisplayName("SimplySim NXT Sample1")]
[Description("Simple Movements")]
[Contract(Contract.Identifier)]
public class Sample1Service : DsspServiceBase
{


Check that you have renamed your service following MSRDS convention and that you have changed the display name attribute.

Regards,
Vincent

_________________
Vincent Maurin
CTO
SimplySim


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Color scheme by ColorizeIt!