VS2013 with .NET examples

7 posts / 0 new
Last post
Offline
Last seen: 2 years 6 months ago
Joined: 10/18/2013
Posts: 42
VS2013 with .NET examples

Trying to get HelloWorld_idl to work but can't get it going in VS2013.  unable to load HelloWorld_type.dll.  works fine when built in 2010.

jmorales's picture
Offline
Last seen: 1 month 4 days ago
Joined: 08/28/2013
Posts: 60

Hi JayC,

I just tried in a virtual machine and I was able to reproduce this error.

What version of RTI Connext DDS are you using? 5.0.0 or 5.1.0? Also, what are the DDS libraries are you using to compile against, VS2010 or VS2012?

I am wondering if the issue could be caused for not having the right Visual studio redistributable packages for VS2010 in the machine in which you are building. See Secction 10 (Windows Platform) of the RTI Core Libraries And Utilities Platform Notes for more information (under %NDDSHOME%/doc/pdf).

If you are in the release mode, you will need the VS2010 Redistributable packages, and if you are building in Debug mode (which is the default value when you open the proyect), you would also need to have the VS2010 installed in the same machine.

Regards,

Javier

Offline
Last seen: 2 years 6 months ago
Joined: 10/18/2013
Posts: 42

5.1, compiling against .NET4.5 or VS2012.

I do have the VS2010 redistributables installed, as I also have VS2010 installed.  For now, I'm just going to develop in VS2010, but I'd rather use 2013.  I guess I could use 2012 but I just don't really want to install it as well right now.

jmorales's picture
Offline
Last seen: 1 month 4 days ago
Joined: 08/28/2013
Posts: 60

Oh, in that case, if you are using the VS2012 libraries, I think the resistributable packages you would need to install are the ones for VS2012. 

Offline
Last seen: 2 years 6 months ago
Joined: 10/18/2013
Posts: 42

makes sense.  i'll try that today

Offline
Last seen: 2 years 6 months ago
Joined: 10/18/2013
Posts: 42

I installed the 2012 redistributables and got the same error in Debug mode.  Release mode works though.  So I need to do something more to be able to use Debug dlls.  I'll report back.

jmorales's picture
Offline
Last seen: 1 month 4 days ago
Joined: 08/28/2013
Posts: 60

Hi JayC,

Thanks for let us know. As in the case of VS2010, for Debug mode in VS2012 you will need to install the whole product Visual Studio 2012 (not only the distributable packages).

Best regards,

Javier