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

Common Libraries


  • Please log in to reply
4 replies to this topic

#1 Bendage

Bendage

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationIrvine, CA

Posted 26 January 2012 - 04:14 AM

Hi, I have a question about .Net DLL's. I have a need to create a sharable library with a .Net Windows app and a Netduino app. If I stay in the bounds of the following references... System System.Collections System.Text System.Threading System.Xml System.Reflection Can I create a single dll used to be referenced in a Netduino app and a windows app?

#2 Bendage

Bendage

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationIrvine, CA

Posted 26 January 2012 - 04:18 AM

My apologies, I posted this in the wrong section.

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 26 January 2012 - 04:38 AM

Hi Bendage, One of our commercial projects here at Secret Labs has 10,000's of lines of .NET code. We have compiled .NET Micro Framework, .NET Compact Framework, and desktop .NET Framework DLLs from the same codebase. You _might_ be able to use .NET Micro Framework .DLLs directly on the desktop, but we generally build them separately to target a specific version of the desktop .NET Framework. Building twice is very quick, so we typically don't mind. Chris

#4 Bendage

Bendage

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationIrvine, CA

Posted 26 January 2012 - 04:53 AM

Hey Chris, Thanks for the late New York response. Working OT? I see a promotion in store! So, I am trying to read between the lines here... It is possible? You just don't recommend it?

#5 Bendage

Bendage

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationIrvine, CA

Posted 26 January 2012 - 05:00 AM

Ah... answered my own question. A dot net micro framework application will not compile referencing a dll not created under the micro framework regardless if referenced libraries are in both frameworks. They just aint the same :) Makes sense now. Thanks!




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.