Netduino home hardware projects downloads community

Jump to content


Photo

'System.ArgumentException' in Microsoft.SPOT.Hardware.dll when starting app


  • Please log in to reply
1 reply to this topic

#1 riaan.marx

riaan.marx

    New Member

  • Members
  • Pip
  • 4 posts

Posted 26 May 2016 - 08:38 AM

Good morning everyone.

After a few years of neglecting my netduino plus 2, I have recently dusted the board and tried to get my dev environment back up and running.

 

I use Visual Studio .NET 2013, so I installed

> .NET MF v4.3 (QFE2)

> Visual Studio NetMF plugin v4.3.2.3

> netduino SDK v4.3.2.1

> Flashed my netduino Plus 2 with Firmware 4.3.2.1

 

I created a new project ("Netduino Application (Universal)") in Visual Studio - no code in the Main() function, and pressed F5.

 

I then get the following exception:

An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll

<Break> <Continue> <ignore>(disabled)

 

If I click the Break button, VS shows a message indicating "GoHub.cs not found"

If I click the Continue button, the code is executed (confirmed using a breakpoint), but surely something did not initialize correctly...

 

If anyone can help me to get this fixed, I would appreciate it.

Kind regards,

Riaan


---------------------------------------

Best regards,

Riaan Marx


#2 riaan.marx

riaan.marx

    New Member

  • Members
  • Pip
  • 4 posts

Posted 26 May 2016 - 09:05 AM

Just an update to the above:

   Removing the GoHub library reference from the project allows the empty application to execute without the exception.


---------------------------------------

Best regards,

Riaan Marx





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.