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

issues moving from 4.1 to 4.2


  • Please log in to reply
4 replies to this topic

#1 cys

cys

    Advanced Member

  • Members
  • PipPipPip
  • 113 posts
  • LocationSoCal

Posted 24 June 2013 - 04:36 AM

I created a new 4.2 project. Moved all the code over from the 4.1 project. All the libraries are either 4.2.0.0 or 4.2.0.1, or something I built under 4.2 and added. Everything builds fine. When debugging the Sample Emulator appears for about five minutes and then quits with the output: "Error: Error in the Application." Before creating a new project from scratch, I got "Error: Assembly file " does not exist! Load failed." Suggestions appreciated. Not much to go on, I know. As always I'll keep trying things.

 

Chris



#2 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 24 June 2013 - 12:37 PM

The emulator showing up would indicate that you haven't actively set the deployment channel to USB (or COM port for the mini) but I would think you've already checked that?

 

Sometimes VS looses the setting and I'll have to goto project properties and put it back.



#3 cys

cys

    Advanced Member

  • Members
  • PipPipPip
  • 113 posts
  • LocationSoCal

Posted 24 June 2013 - 03:44 PM

The emulator showing up would indicate that you haven't actively set the deployment channel to USB (or COM port for the mini) but I would think you've already checked that?

 

Sometimes VS looses the setting and I'll have to goto project properties and put it back.

 

I'm debugging under the emulator. I always do that first before deploying to hardware as my routine under 4.1 for the past year. Basically I'm checking looking for any exceptions. In this case I toggled a break after something of interest and it never gets there. I've already replaced every library and made a new project and put everything in that. I think I'm going to have to take out all the subroutines and supporting libraries and build everthing again step by step to find out what is misbehaving. Also, will have to go down the path of removing all the netduinio support files and reinstall everything.



#4 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 24 June 2013 - 04:51 PM

I see. Usually when I accidentally run the emulator, I get an exception since it does not have the periphals I'm working with :-)

#5 cys

cys

    Advanced Member

  • Members
  • PipPipPip
  • 113 posts
  • LocationSoCal

Posted 24 June 2013 - 05:07 PM

I see. Usually when I accidentally run the emulator, I get an exception since it does not have the periphals I'm working with :-)

I do a first pass where I knock those out. So, I can't find everything but I have routinely benefitted.




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.