Netduino home hardware projects downloads community

Jump to content


Photo

Beta: Visual Studio 2013 support


  • Please log in to reply
80 replies to this topic

#21 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 March 2014 - 03:25 AM

Hi Babuji,

No worries. The ".NET Framework 4.5" on your computer is the desktop version. You do not need to uninstall that.

The ".NET Micro Framework 4.3" (with "MICRO" in the name) is a different runtime...the one that goes onto your Netduino. So just go ahead and install the SDK downloads and you'll be good to go!

Welcome to the Netduino community,

Chris

#22 lml

lml

    New Member

  • Members
  • Pip
  • 1 posts

Posted 20 March 2014 - 02:04 PM

Problem at debug

 

I am running Visual Studio 2013 Ultimate and have loaded the 2013 .net Micro framework and 2013 netduino SDK.

Loads and detection is ok.  I built the blinky app and set up the usb connection to the netduino go device.

This is the error I get after about 6 reboots of the device.

 

Looking for a device on transport 'USB'

Starting device deployment...

Iteration 0

Opening port \\?\USB#VID_22B1&PID_1000#000000000000#{09343630-a794-10ef-334f-82ea332c49f3}\Operations

Attaching debugger engine...

... debugger engine attached!

Querying device assemblies...

Found Assembly mscorlib 4.2.0.0

Found Assembly Microsoft.SPOT.Native 4.2.0.0

Found Assembly Microsoft.SPOT.Hardware 4.2.0.0

Found Assembly Microsoft.SPOT.Net 4.2.0.0

Found Assembly System 4.2.0.0

Found Assembly Microsoft.SPOT.Hardware.SerialPort 4.2.0.0

Found Assembly Microsoft.SPOT.IO 4.2.0.0

Found Assembly System.IO 4.2.0.0

Found Assembly Microsoft.SPOT.Hardware.PWM 4.2.0.1

Found Assembly Microsoft.SPOT.Hardware.Usb 4.2.0.0

Found Assembly GoBus 1.0.0.0

Found Assembly GoBusSerialTransport 1.4.1.0

Found Assembly NetduinoGo.ShieldBase 0.4.0.0

Found Assembly SecretLabs.NETMF.Diagnostics 4.2.0.0

Found Assembly SecretLabs.NETMF.Hardware.Netduino 4.2.1.0

Found Assembly SecretLabs.NETMF.IO 4.2.0.0

Found Assembly Microsoft.SPOT.Hardware.OneWire 4.2.0.0

Found Assembly Microsoft.SPOT.Time 4.2.0.0

Found Assembly blinky 1.0.0.0

Found Assembly SecretLabs.NETMF.Hardware 4.2.0.0

Found Assembly SecretLabs.NETMF.Hardware.NetduinoGo 4.2.2.0

Adding pe file c:\users\llease\documents\visual studio 2013\Projects\blinky2\blinky2\bin\Debug\le\blinky2.pe to deployment bundle

Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2\le\secretlabs.netmf.hardware.pe to deployment bundle

Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2\le\secretlabs.netmf.hardware.netduinogo.pe to deployment bundle

Attempting deployment...

Incrementally deploying assemblies to device

Deploying assemblies for a total size of 4256 bytes

Assemblies successfully deployed to device.

Restarting interpreter...

Attaching to device...

Waiting for device to initialize...

The debugging target and the debugger engine failed to initialize because of unspecified device errors.

The debugger engine thread has terminated unexpectedly with error 'Could not reconnect to the debugging target after rebooting it.'.

 

 

Fixed it by stepping back to 4.2.2 and adding the shield base.  Now I'll reload the 2013 drivers.  No assistance required at this point. 

 

Im wondering if I need a new load on the device?  Thanks for consideration.  LML



#23 Fred007

Fred007

    Member

  • Members
  • PipPip
  • 25 posts

Posted 14 April 2014 - 03:23 AM

Getting back into this after some time away. Have VS 2013, installed the MicroframeworkSDK and Netduinosdk VS 2013 experimental versions. Things look good, can build and run the standard blinky apps.(Netduino Plus) When I try the project I was working on last, web server, I can't deploy it to the device when I target the .Net MF 4.3, but it will deploy when targeting 4.2. I suspect I need to load new firmware on the Plus, but have seemed to have purged this memory from my brain.

 

Ran the MFDeploy tool, have target framework 4.2.0.0. Could not seem to find an updated firmware for the Plus.

 

Hoping someone can point me in the right direction. Thanks.



#24 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 April 2014 - 09:32 AM

Hi Fred007,

I suspect I need to load new firmware on the Plus, but have seemed to have purged this memory from my brain.
 
Ran the MFDeploy tool, have target framework 4.2.0.0. Could not seem to find an updated firmware for the Plus.
 
Hoping someone can point me in the right direction. Thanks.

We're exploring 4.3.1 firmware for Netduino Plus 1, but there are some memory constraints there. In the meantime, I'd recommend simply changing the target framework for your project (in Project Properties) from NETMF 4.3 to NETMF 4.2.

Does that get you up and running (with VS2013 experimental SDK and your 4.2 NP1)?

Chris

#25 Fred007

Fred007

    Member

  • Members
  • PipPip
  • 25 posts

Posted 14 April 2014 - 10:55 AM

Yes, targeting the 4.2 framework does get me up and running. Strange thing, code that used to work fine, now gives me an exception. It's the first call in my listener that is now causing the trouble. I have this call:

using( Socket clientSocket = listeningSocket.Accept() )

and that is what is triggering the exception.

 

Couple of things. If I want to get current on Netduino hardware, what would you suggest? And, are there any examples of simple web servers working on the experimental framework?

 

Thanks for the help, very much fun getting back into this after a few years!



#26 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 April 2014 - 12:08 PM

Hi Fred,

Couple of things. If I want to get current on Netduino hardware, what would you suggest? And, are there any examples of simple web servers working on the experimental framework?

I would recommend picking up a Netduino Plus 2. BTW, the experimental Netduino SDK is release quality...it's just "experimental" in the sense that its Visual Studio 2013 support is not official Microsoft support at the moment. So any of the Netduino web server examples in the forums/youtube etc. should work.

We should probably start another thread for it but...on your Netduino Plus 1, what exception are you getting exactly? And did you already set your IP Address and MAC Address settings in MFDeploy?

Chris

#27 eugenhuber

eugenhuber

    New Member

  • Members
  • Pip
  • 3 posts

Posted 14 April 2014 - 05:37 PM

Hi Chris,

by when can we expect the official release of VS2013 support (SDK and Framework)?

Thx Eugen 



#28 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 April 2014 - 07:56 PM

Hi Eugen,

by when can we expect the official release of VS2013 support (SDK and Framework)?

The VS2013 support is experimental because we built the installer. Once Microsoft makes an installer for VS2013, we should be able to remove the "experimental" tag. They generally update the SDK to use the latest version of Visual Studio when they do major releases.

In the meantime, enjoy the VS2013 SDK...today :) Albeit with an "experimental" tag. Just so you know, it is the same SDK as the official VS2012 SDK--just with bindings to VS2013's IDE instead.

Chris

#29 Rusk

Rusk

    New Member

  • Members
  • Pip
  • 3 posts

Posted 04 May 2014 - 09:31 PM

Hi Chris!

 

After installing the required versions with no previously existing installations I have this weird issue where the namespace "Microsoft.SPOT.Hardware" is lacking the class "I2CDevice" and there also is no specific "Microsoft.SPOT.Hardware" assembly that I could reference. I attached screenshots of my current situation. Looking forward to your reply hoping you might be able to shed some light on this. Thanks a lot!

 

Attached Files



#30 Rusk

Rusk

    New Member

  • Members
  • Pip
  • 3 posts

Posted 04 May 2014 - 09:39 PM

Hi Chris!

 

Since my  previous post has to be approved first I have to make a new one.

 

I forgot to mention that I am running VS2013 Premium on a W7Prox64.

 

Also I just imported the missing dll from my filesystem but I am still unsure if thats actually the way to go or if the missing  *.Hardware.dll assembly under the "Extensions" category is an indicator for something be wrong in general with my installation.

 

Thanks in advance!



#31 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 05 May 2014 - 06:15 AM

Hi Rusk,

Did you start out building a "Netduino Plus 2 Application"?

You should be able to add Microsoft.SPOT.Hardware.dll from the project referencse (as a .NET reference). If it's not there, uninstall the NETMF and Netduino SDKs and re-install them. Be sure to grab the VS2013 experimental ones.

Welcome to the community,

Chris

#32 Rusk

Rusk

    New Member

  • Members
  • Pip
  • 3 posts

Posted 05 May 2014 - 04:29 PM

I am actually going to write an application to control a number of slave devices over the ic bus where for now my pc will act as master.

 

But I had to manually import the Microsoft.SPOT.Hardware.dll from here: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETMicroFramework\v4.3. From what I can see I would need to do the same for all other assemblies that haven't appeared under the project references. Re-installing did not help btw. I am actually quite content with the assembly I have picked so long as you can tell me that it is the right one.

Thanks!



#33 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 May 2014 - 03:19 AM

Hi Rusk,

That should be the right assembly. If you want us to walk through the installation procedure separately, we can do that too--but pulling in the assemblies manually should work too.

Chris

#34 Jack Chidley

Jack Chidley

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts

Posted 15 May 2014 - 04:31 PM

Some feedback.  2013 support might be experimental but it's working really well for me - much better than every earlier version that I've used.

 

Jack



#35 andrew6071

andrew6071

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationUK

Posted 19 May 2014 - 11:32 PM

Hi Chris,

 

For some reason the project templates don't want to work for me, it comes up saying its unable to open the .csp file, I've checked and the zip's are in the project template directory

 

it comes up with an error "the project file ..\appdata\local\temp\.........some random folder...\temp\netduino***app.csproj" cannot be opened

 

there is a missing project subtype

subtype "some guid" is unsupported by this installation

 

Oh and I'm running vs2013 ultimate on win 8.1

 

Andrew



#36 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 May 2014 - 01:14 AM

Hi Andrew,

It looks like the templates got installed into a temporary folder.

Can you create a .NET Micro Framework console application?

If you can't create a NETMF console app, then please uninstall both the NETMF and Netduino SDKs...and then reinstall the experimental NETMF 4.3 SDK. Make sure you can create a NETMF console app. Then reinstall the Netduino SDK.

Also--copy the installers to your desktop before running them (in case an access issue is sandboxing the installer).

Chris

#37 andrew6071

andrew6071

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationUK

Posted 20 May 2014 - 10:46 PM

Hi Chris,

 

I thought it was strange that there wasn't any console apps in the templates :o)

 

I've figured out what it was,  I downloaded the 4.3.1 QFE1 file from the VS2012 post, and got them mixed up :)

 

I've just downloaded the experimental SDK again and noticed that the file names are different :o)

 

So can I use the PK from codeplex with the experimental sdk ?

 

Andrew



#38 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 May 2014 - 07:40 PM

So can I use the PK from codeplex with the experimental sdk ?

Yes, absolutely. That's the same PK we use as a base to build our firmware.

Glad that you're up and running now; please let us know if we can be of any additional help,

Chris

#39 Thomas Maynard

Thomas Maynard

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationChicago

Posted 13 June 2014 - 03:35 AM

I was going to bust your chops on being "Experimental" still after all this time, but having read this I must back down: It's not up to you, I see, and it's probably not easy to twist Microsoft's arm to get them to deliver product sooner than their own schedule allows.

 

Consider this as some slack being cut here.



#40 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 June 2014 - 09:30 PM

Hi Thomas,

 

One man's "experimental" firmware is another man's "release" firmware ;)

 

We use the VS2013 build on all of our machines here.  We know that developers love using the latest tools--which is why we build these interim releases.  There's already some work being done with VS 2014 CTP as well...although we probably won't have an official "experimental" release until that comes out of beta.  Since the NETMF SDK typically supports the latest version of Visual Studio, the NETMF vNext SDK may actually be built for VS2014...TBD.

 

Chris






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.