Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Renci.Ssh library does not work in NetduinoPlus Application (VS2010)

visual studio netduinoplus c# rencissh ssh .net micro framework

  • Please log in to reply
2 replies to this topic

#1 arrudeboy

arrudeboy

    New Member

  • Members
  • Pip
  • 4 posts

Posted 18 April 2014 - 05:39 AM

Hi guys!

 

Currently, I am developing a NetduinoPlus application in C# (over Visual Studio 2010 enviroment).

I have installed all necesary features for this:

 - .NET Microframework SDK 4.1 (QFE1)

 - Netduino SDK 4.1.1.0

 

Also, this application requires the ssh service to perform several tasks. Then I downloaded a C# library called "RenciSSH" from here.

 

The trouble comes when I trying to add the Renci.Ssh library reference to the NetduinoPlus solution (I added that library as "Existing project").
It showing the following warning: "Referenced project 'Renci.Ssh' is targeted to a different framework family".
 
It is right because the Renci.Ssh project is targeted to .NET MicroFramework v4.0 while my main project (NetduinoPlus app) is being targeted to .NET MicroFramework v4.1
 
I wondering if there is a way to use a C# library targeted on earlier versions in NetduinoPlus applications which are targeted to v4.1 MF.
 
Sorry for my English, I am from Argentina. 
 
Regards.
 
Arthur. 


#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 April 2014 - 12:36 PM

Hi Arthur,

It looks like that library is targeted to .NET 4.0 (the full desktop .NET), rather than .NET Micro Framework.

.NET Micro Framework is a subset of the full desktop framework.

Can you give us a bit more info on what you're trying to accomplish generally? And then we might be able to point you in a good direction?

Chris

#3 arrudeboy

arrudeboy

    New Member

  • Members
  • Pip
  • 4 posts

Posted 19 April 2014 - 03:34 AM

Thanks you for responding Chris!

 

I need to send an unix command via ssh protocol... for instance, send shutdown signal if some conditions become true like high temperature in a device which resides in a remote cluster.

 

IMPORTANT DATA: Some months ago I have accomplished working with the Renci.Ssh library in a NetduinoPlus application but it was over a different scenario. That time, the SO was Windows 7 (32bits) and the framework was Netduino SDK 4.1 (32bits).

Now, I am working over Windows 8 and Netduino SDK 4.1 (64bits). I dont know if this has any importance but I remember that I could build the solution with the Renci.Ssh reference and it worked/ran correctly.

 

Regards.

 

Arthur.







Also tagged with one or more of these keywords: visual studio, netduinoplus, c#, rencissh, ssh, .net micro framework

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.