Netduino home hardware projects downloads community

Jump to content


Photo

Experimental: Visual Studio 2013 support


  • Please log in to reply
46 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 25 December 2013 - 02:51 PM

Visual Studio 2013 is awesome. Yet plug-ins for our favorite Visual Studio extensions--like .NET Micro Framework support--are often on their own release cycles. So we patiently wait for the extensions to catch up, eager to use the latest tools.

Luckily, .NET Micro Framework is open source. So we've built an experimental NETMF SDK installer that works with the latest version of Visual Studio.

I'm happy to announce experimental support for Visual Studio 2013. This also includes special builds of the Netduino and AGENT SDKs.

Disclaimer: Not an official Microsoft SDK installer. For experimentation purposes only.

A few notes
  • We will support users on the official SDK (using VS2012) as well as users on the experimental SDK (using VS2013).
  • Once the NETMF SDK is updated to support VS2013+ we will discontinue the experimental SDK installer.
  • The experimental NETMF installer is identical to the standard installer--but built for VS2013 and not signed.
  • Third-party NETMF plug-ins may or may not work with VS2013.
System requirements
  • Windows 7 SP1, Windows 8 or Windows 8.1
  • Visual Studio 2013 Professional or better
Installation instructionsIn summary
Enjoy the experimental VS2013 support! Please post any feedback here in this post.

And happy holidays!

Chris

P.S. Thank you to Jan Kučera for all your tinkering with the .NET MF SDK WiX sources and for your community contributions; you got us started on this update path.

Cross-post: AGENT forums

Edited by Chris Walker, 02 March 2014 - 09:11 AM.
Updated to NETMF 4.3 QFE1 and Netduino 4.3.1 SDK


#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 25 December 2013 - 03:37 PM

For those of you that would like to build your own installer: 1. Check out the full source tree of NETMF from netmf.codeplex.com. 2. Unzip the attached file into the root of the client_v4_3 directory. 3. Open a VS 2013 developer command prompt and cd to the client_v4_3 directory. 4. > setenv_vs.cmd 12 5. > msbuild sdk.dirproj /p:flavor=release The build output will be located at: client_v4_3BuildOutputpublicReleaseServermsmMicroFrameworkSDK.MSI Chris

Attached Files



#3 roguemat

roguemat

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationSouth Africa

Posted 27 December 2013 - 06:37 AM

Sounds like you had a fun Christmas day ;-)

 

Thanks so much for this!


I make Windows Phone stuff for beer money and rent (in order of priority). I've got a blog and am on the Twitter machine.


#4 beastyboy

beastyboy

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationNetherlands

Posted 31 December 2013 - 08:53 PM

Hi Chris,

 

 

I am running vs2013 and installed both Netduino and NETMF v4.30 SDK is it correct that both Netduino Go

 and the Shield base are NOT supported ? Any beta's there ?

 

Happy News Years!



#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 01 January 2014 - 06:34 AM

Hi beastyboy, Netduino Go is running 4.2 firmware today, which you can use from the 4.3 SDK. Netduino Go will be getting its own 4.3 public beta program in the near future; we're testing it internally now and there's a lot of new code :) Chris

#6 Cup

Cup

    New Member

  • Members
  • Pip
  • 2 posts

Posted 05 January 2014 - 09:58 PM

First of all, I am new to the Netduino and looking forward to some fun projects with the Plus 2.

 

WIll there be SDK support for Visual Studio Express 2013? I have not tried it yet but from the looks of things I will not be able to use VSE2013. I am unable to install Visual Studio Express 2012 because of compatability issues with WIndows 8.1. Do you have any suggestions?

 

Steve



#7 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 06 January 2014 - 08:01 AM

Hi Steve, I'm using both Visual Studio Express 2012 for Windows Desktop and Visual Studio 2013 on my Windows 8.1 machine. What compatibility issues are you seeing? Regarding VS2013 Express support...generally speaking, only Microsoft-signed SDKs run inside the Express SKUs. They routinely upgrade the NETMF SDK to newer versions of Visual Studio--but the release cycles aren't the same. For now, stick with VS2012 Express if you're running the free version. If you have troubles, perhaps someone here has seen the issue before and we can help you get on your feet. Chris

#8 Cup

Cup

    New Member

  • Members
  • Pip
  • 2 posts

Posted 07 January 2014 - 06:15 AM

Hi Chris,

I was unable to install visual studio express 2012 on a fresh laptop running windows 8.1 when I used the downloadable installer. There was a conflict with compatability settings that would not let the install go through. I was finally able to install visual studio express 2012 by downloading and mouting the ISO installer. The installer hung during the finalization, but it was far along enough and was successfully installed.

 

All drivers are in place. I have not yet actually plugged the Plus 2 in because I don't have a cable, but otherwise I am ready to go!

 

Steve



#9 mikeduino

mikeduino

    New Member

  • Members
  • Pip
  • 2 posts

Posted 10 January 2014 - 05:16 PM

I've installed both the Micro Framework and Netduino sdk for VS2013 and I an not seeing "Netduino Application" as a new project type...should I be?



#10 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 10 January 2014 - 07:32 PM

Hi mikeduino, Do you see ".NET Micro Framework" under the Visual C# templates in VS2013? Is there a Console Application underneath that category? That's where "Netduino Application" should be. If you see none or some (but not all) of these, let us know what's there...and we can help you get the rest installed. Welcome to the Netduino community, Chris

#11 mikeduino

mikeduino

    New Member

  • Members
  • Pip
  • 2 posts

Posted 10 January 2014 - 08:14 PM

[font="'courier new', courier, monospace;"]Hi Chris, thanks for the reply. I'm going to guess that it was there and I missed it, but I had since reinstalled and was able to find it. Now I'm getting the error, "Cannot deploy the base assembly 'mscorlib'...4.2.0.0, while the program...4.3.0.0", so I apparently need to update the firmware...[/font]



#12 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 12 January 2014 - 08:57 PM

Hi mikeduino, Yes, you've got it. Just upgrade the firmware on your board and then you should be sync'd up. You can also change the target framework in Visual Studio to 4.2 if you prefer. Chris

#13 rensky

rensky

    New Member

  • Members
  • Pip
  • 8 posts

Posted 26 February 2014 - 08:39 AM

Hello,

 

i can not debug my application.

 

Log

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.3.1.0
Found Assembly Microsoft.SPOT.Native 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware 4.3.1.0
Found Assembly Microsoft.SPOT.Net 4.3.1.0
Found Assembly System 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.SerialPort 4.3.1.0
Found Assembly Microsoft.SPOT.IO 4.3.1.0
Found Assembly System.IO 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.PWM 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.Usb 4.3.1.0
Found Assembly SecretLabs.NETMF.Diagnostics 4.3.1.0
Found Assembly SecretLabs.NETMF.Hardware.Netduino 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.OneWire 4.3.1.0
Found Assembly Microsoft.SPOT.Time 4.3.1.0
Found Assembly Example test app 1.0.0.0
Found Assembly SecretLabs.NETMF.Hardware 4.3.1.0
Adding pe file D:\Programmierung\netduino\Example test app\Example test app\bin\Debug\le\Example test app.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\secretlabs.netmf.hardware.pe to deployment bundle
Attempting deployment...
Incrementally deploying assemblies to device
All assemblies on the device are up to date.  No assembly deployment was necessary.
Assemblies successfully deployed to device.
Restarting interpreter...
Attaching to device...
Deployment error: failed to (re)connect debugger engine to debugging target.
The debugging target and the debugger engine failed to initialize because of unspecified device errors.
The debugger engine thread has terminated unexpectedly with error 'Debugger engine could not attach to debugging target.'.

If I restart the Netduino with Button,  the  transmitted Application run. 

 

Best regards

René Galow



#14 Guy Dillen

Guy Dillen

    New Member

  • Members
  • Pip
  • 1 posts

Posted 26 February 2014 - 05:31 PM

Hi,

 

Is the Netduino Plus also supported with Visual Studio 2013?

 

Thanks.



#15 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 26 February 2014 - 11:00 PM

Hi Guy,

Is the Netduino Plus also supported with Visual Studio 2013?

The newest SDKs should work with older boards/firmware, yes. We have included support for 4.1, 4.2 and 4.3 in the SDK. Chris

#16 Elsie

Elsie

    New Member

  • Members
  • Pip
  • 1 posts

Posted 07 March 2014 - 05:15 PM

  • I have uninstalled all previous .NET MF and Netduino SDKs from my computer using Programs and Features in control panel.
    VS2013 ultimate is installed and working
    When I try to Install .NET MF SDK v4.3 QFE1 for VS 2013 (experimental, unofficial) it refuses to install with this message:
     
    Another version of this product is already installed. Installation cannot continue. ... remove existing version .. use Add/Remove Programs on the Control Panel.
     
    There is no sign of any .Net MF SDK there.
     
    How do I fix this.


#17 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 07 March 2014 - 07:48 PM

Hi Elsie,

Please look for "Microsoft .NET Micro Framework SDK 4.##" in "Programs and Features". Remove that if it's there.

You can also try renaming the folder "C:\Program Files (x86)\Microsoft .NET Micro Framework" to something else. If you're running on a 32-bit computer, that will be in "Program Files" instead.

The backup backup option is to go through regedit an prune out any entries related to ".NET Micro Framework". But that can be dangerous if you don't know exactly what you're doing, so if you go that route please backup your registry first. [I would recommend reinstalling a PC before going this route--neither of which is fun.]

Chris

#18 tmaynard

tmaynard

    New Member

  • Members
  • Pip
  • 1 posts

Posted 09 March 2014 - 10:40 PM

I have VSE2013 for Desktop installed on my Windows 8.1 system:

Microsoft Visual Studio Express 2013 for Windows Desktop
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Desktop Express

Team Explorer for Visual Studio 2013   06157-004-0441005-02701
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06157-004-0441005-02701
Microsoft Visual Basic 2013

Visual C# 2013   06157-004-0441005-02701
Microsoft Visual C# 2013

Visual C++ 2013   06157-004-0441005-02701
Microsoft Visual C++ 2013

NuGet Package Manager   2.7.41101.371
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

But I am unable to install the SDK.  It gives an error saying that

Microsoft .NET Micro Framework SDK 4.3 (QFE1) can
only be installed on computers with Visual Studio 2013
or Visual Studio Express 2013 for Windows Desktop.
Please install Visual Studio 2013 or Visual Studio 
Express 2013 for Windows Desktop an re-run the M...
                   [OK]

What to do?



#19 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7092 posts
  • LocationNew York, NY

Posted 10 March 2014 - 04:16 AM

Hi tmaynard,

The VS2013 SDK is an experimental SDK and currently requires VS 2013 Professional or better.

System requirements include:
* Visual Studio 2013 Professional or better

I recommend grabbing a copy of Visual Studio 2012 for Windows Desktop and installing the standard VS2012 SDKs for now instead.

BTW, welcome to the Netduino community.

Chris

#20 hibabuji

hibabuji

    New Member

  • Members
  • Pip
  • 1 posts

Posted 20 March 2014 - 12:33 AM

Hi Chris,

My friend gave me a Netduino Kit and I am getting my feet wet for the first time. The operating stystem is Windows 7. I have Visual Studio 2012 with C#, Microsoft .NET Framework 4.5, Microsoft .NET Framework 4.5 Multi- Targeting Pack, Microsoft .NET Framework 4.5 SDK so far. The instructions on your website for

New: Netduino 4.3.1 SDK and VS2012+ support say

Do I need to remove .NET 4.5 even though it is newer? I'll be happy to do it but just thought I'd ask you a quick question as I want to do it by the book!!

I am really motivated to learn!

Thank You,

Babuji

PS: Since I'm getting started anew and have not invested too much time, I will be happy to get everything 2013 if that will be better. B.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2010-2014 Secret Labs LLC  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.