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

Reference NETMF libraries in .NET


  • Please log in to reply
5 replies to this topic

#1 Brandon G

Brandon G

    Advanced Member

  • Members
  • PipPipPip
  • 92 posts
  • LocationVancouver BC, Canada

Posted 31 January 2011 - 09:53 PM

I have a windows app that i want to be able to call some of the methods of netmf assemblies, is this at all possible? is there a way for an emulator to take over to be able to load those objects

#2 Fred

Fred

    Advanced Member

  • Members
  • PipPipPip
  • 302 posts
  • LocationUK

Posted 31 January 2011 - 10:10 PM

I was briefly looking at this on order to create a unit testing framework. I didn't get that far before getting distracted by writing the code I wanted to use instead. My initial poking around seemed to indicate that you'd need to do this in an emulator. There's some sample emulator code out there that I used. Posting from my phone so can't dig it out right now.

#3 Brandon G

Brandon G

    Advanced Member

  • Members
  • PipPipPip
  • 92 posts
  • LocationVancouver BC, Canada

Posted 31 January 2011 - 10:13 PM

I actually have got Nunit to work on some simple tests but maybe thats because the classes were so simple

#4 Brandon G

Brandon G

    Advanced Member

  • Members
  • PipPipPip
  • 92 posts
  • LocationVancouver BC, Canada

Posted 31 January 2011 - 10:18 PM

if you could dig up when in front of computer cause thus far my search has revealed nothing

#5 Fred

Fred

    Advanced Member

  • Members
  • PipPipPip
  • 302 posts
  • LocationUK

Posted 01 February 2011 - 08:36 AM

There's an emulator that comes with the .NET Microframework SDK and some samples that come with it. The Netduino emulator project is unfinished but useful too.

#6 Brandon G

Brandon G

    Advanced Member

  • Members
  • PipPipPip
  • 92 posts
  • LocationVancouver BC, Canada

Posted 02 February 2011 - 05:34 AM

I think i ran into a brick wall here, which .NET 4.0 project in the sdk loads up assemblies based in NETMF 4.0? Here's the error i get, i dont necessarily want to emulate hardware i merely want to use some of its assemblies I will always get the error ECall methods must be packaged into a system module I have successfully run test before that called simple classes but the call i am making from a form app to netmf dll is using Spot.Hardware which I cant see how to load that in




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.