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

start multi-projetc's on netduino


  • Please log in to reply
3 replies to this topic

#1 BrunoPescarolli

BrunoPescarolli

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationBrazil

Posted 24 July 2012 - 09:59 PM

How do I create dll for my project netduino and also as I run several projects simultaneously in netduino? Run two projects in the same solution. as it does?

#2 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 25 July 2012 - 05:29 AM

Hi Bruno, I'm not sure what you are trying to do, but a Netduino can run only one app simultaniously as far as I know. Could you try to be more detailed about your goal?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#3 Nobby

Nobby

    Advanced Member

  • Members
  • PipPipPip
  • 70 posts

Posted 25 July 2012 - 08:04 AM

If you mean you would like to create projects which are code libraries you would like to use in other projects, that's pretty easy.

  • Add a new project to solution
  • Choose "Class Library" instead of "Netduino Plus Application" under Visual C# -> Micro Framework. This what you mean by DLL?
  • Write the code in your class library
  • Go to your Netduino Plus application project, choose to add a reference
  • In the projects tab, choose your new class library as the reference
  • You can now use your class library in the Netduino Plus application!!


#4 Igor Kondrasovas

Igor Kondrasovas

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts
  • LocationPorto, Portugal

Posted 25 July 2012 - 01:40 PM

How do I create dll for my project netduino and also as I run several projects simultaneously in netduino?

Run two projects in the same solution.

as it does?


Olá Bruno,

When you say "several projects simultaneously", if you mean having more than one Netduino projectp in the same solution and would like to run a specific Project at a time, only changing the "Default Project" on the solution than I can say from my experience this did not work for me.

Altought this usually works for other kinds of projects (like Windows projects for example) it seems that the first Netduino project in your solution is the one actually deployed to the device.

For now, what I do is to keep a solution for every project I am working on. If you find out how to overcome that, please let me know.

PS: You can also speak brazilian portuguese with me if you prefer!

Igor.

Igor Kondrasovas

www.inovativatec.com





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.