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

Getting started issue with Netduino


  • Please log in to reply
6 replies to this topic

#1 Watson

Watson

    New Member

  • Members
  • Pip
  • 3 posts

Posted 23 June 2011 - 06:25 AM

Hi all, I'm new to this forum and just getting started with netduino. I followed the getting started guide to create and run the first program on netduino. However, when I run the program I get following error: Error 1 Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:Netduino twice. Assembly 'mscorlib' on the device has version 4.2.0.0, while the program is trying to deploy version 4.1.2821.0 Please advise, do I need to update .NET micro framework? Thanks, Dan

#2 Stefan

Stefan

    Moderator

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

Posted 23 June 2011 - 06:35 AM

Hi Watson, Welcome to the Netduino community! Did you try to load the 4.2 firmware into your netduino by any chance? If so, go to your project's properties, and change the Target framework.
"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 Watson

Watson

    New Member

  • Members
  • Pip
  • 3 posts

Posted 23 June 2011 - 04:08 PM

Yes, I updated the firmware but I thought new SDK (.NET Micro Framework v4.2) will work with Netduinos flashed with .NET MF v4.1.

I found the thread that describes this.

http://forums.netdui...?showtopic=1960

Thanks!


Hi Watson,

Welcome to the Netduino community!

Did you try to load the 4.2 firmware into your netduino by any chance?
If so, go to your project's properties, and change the Target framework.



#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 23 June 2011 - 06:03 PM

Hi Watson, You can use the .NET MF 4.2 SDK with 4.1 boards...but in this case you have a 4.2 board. If you'd like to reflash the board to a v4.1.1 firmware release, you can move forward with your project on v4.2. Or you can change your project to a .NET MF 4.2 project instead (inside project properties), and then you'll be good to go that way instead! Chris

#5 Watson

Watson

    New Member

  • Members
  • Pip
  • 3 posts

Posted 24 June 2011 - 06:02 AM

I changed project property to .NET MF 4.2 and it works! Thanks
Next challenge is to get the Wifly shield to work..


Hi Watson,

You can use the .NET MF 4.2 SDK with 4.1 boards...but in this case you have a 4.2 board. If you'd like to reflash the board to a v4.1.1 firmware release, you can move forward with your project on v4.2.

Or you can change your project to a .NET MF 4.2 project instead (inside project properties), and then you'll be good to go that way instead!

Chris



#6 Matteo Defanti

Matteo Defanti

    New Member

  • Members
  • Pip
  • 3 posts

Posted 20 July 2011 - 08:19 AM

I get this error, i can't resolve it... Error 1 Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:Netduino twice. Assembly 'mscorlib' on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0 Then i removed Netduino SDK and .NET microframework 4.1 and then i installed .NETMF 4.2 and Netduino new SDK I'm running on Windows 7 64bit.... Has anyone got the same problem?

#7 Stefan

Stefan

    Moderator

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

Posted 20 July 2011 - 08:28 AM

I get this error, i can't resolve it...

Error 1 Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:Netduino twice. Assembly 'mscorlib' on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0

Then i removed Netduino SDK and .NET microframework 4.1 and then i installed .NETMF 4.2 and Netduino new SDK

I'm running on Windows 7 64bit....

Has anyone got the same problem?

Go to your project properties. You can select the NETMF version there. It should be in sync with the Netduino version you use.
"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




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.