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

VS Templates missing


  • Please log in to reply
8 replies to this topic

#1 Phil R

Phil R

    New Member

  • Members
  • Pip
  • 3 posts

Posted 06 August 2010 - 04:09 AM

Hi folks - I'm running VS 2010 Professional on Win7 Ultimate (VS 2008 is installed as well). After running the installer netduinosdk_32bit.exe, the Netduino templates won't show up in the "Micro Framework" category in VS's "New Project" dialog. Any ideas? Can I install the templates manually? Thanks & regards from Germany Phil

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 August 2010 - 01:36 PM

I'm running VS 2010 Professional on Win7 Ultimate (VS 2008 is installed as well). After running the installer netduinosdk_32bit.exe, the Netduino templates won't show up in the "Micro Framework" category in VS's "New Project" dialog.


Very curious. Could you look in your "Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Micro Framework" directory and see if NetduinoApplication.zip is there?

If it isn't, is there a chance you could do a search on your hard drive for NetduinoApplication.zip to see where it is? And if the above directory doesn't exist, where is it located on your computer?

Since Netduino is open source (Apache 2.0 licensed), you can download the NetduinoApplication.zip file from the "Netduino SDK v4.1.0 Source" at http://www.netduino.com/downloads/ -- and then just drop it into the directory I mentioned above. The NetduinoApplication.zip file contains the NetduinoApplication template (source code), of course.

Does this take care of your needs?

Chris
---
P.S.
Some technical tips:
1. If it's not showing up, reboot your computer (to make sure that all instances of Visual Studio 2010 are shut down). See if it's there now.
2. You might be able to just open up the NetduinoApplication project inside the ZIP file to start any new project as well, or you could create a Micro Framework ConsoleApplication and tweak it accordingly.

#3 Phil R

Phil R

    New Member

  • Members
  • Pip
  • 3 posts

Posted 06 August 2010 - 06:09 PM

Very curious. Could you look in your "Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Micro Framework" directory and see if NetduinoApplication.zip is there?


Ah - got it. First of all, my Documents folder is a library that actually contains two folders. Each folder contains the template folders, and actually I found the NetduinoApplication.zip file in one of them. But the real solution was even more simple: for some reason, the user project template folder in VS 2010 was still set to the VS 2008 folder location. Seems the installer doesn't take the template folder location from VS 2010's settings, but assumes the default location.

Problem solved, thanks - I'm looking forward to receiving my Netduino from Canada...

Phil

#4 GaTechThomas

GaTechThomas

    New Member

  • Members
  • Pip
  • 2 posts

Posted 23 August 2010 - 05:12 AM

The Netduino SDK installation program puts the Visual Studio template (NetduinoApplication.zip) in the incorrect folder. The correct folder is: C:\Users\{username}\Documents\Visual Studio 10\Templates\ProjectTemplates\Visual C#\Micro Framework It cost me several hours of installs/uninstalls/research. :-( Good now though. :-)

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 23 August 2010 - 05:22 AM

The Netduino SDK installation program puts the Visual Studio template (NetduinoApplication.zip) in the incorrect folder. The correct folder is:

C:\Users\{username}\Documents\Visual Studio 10\Templates\ProjectTemplates\Visual C#\Micro Framework

It cost me several hours of installs/uninstalls/research. :-( Good now though. :-)


Sorry about that. We're working on a tweak to the installer which will detect the template folder instead of assuming the default. Glad you figured it out, and I'm looking forward to seeing what you build!

Chris

#6 GaTechThomas

GaTechThomas

    New Member

  • Members
  • Pip
  • 2 posts

Posted 23 August 2010 - 08:39 PM

I got back to work and looked at the templates path there. I discovered that it is C:\Users\{username}\Documents\Visual Studio 2010\Templates\ProjectTemplates It looks like Microsoft has "2010" in one version of VS10 and "10" in another version. !#$%

#7 James

James

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 11 September 2010 - 05:40 PM

I had the same problem - I think the root of it is that I moved the "My Documents" folder over to my D drive, but VS is still pointing to C:\Users\etc... for my Project Templates. Ah well, it's fixed now!

#8 Sean

Sean

    New Member

  • Members
  • Pip
  • 2 posts

Posted 06 November 2010 - 03:06 AM

Mine was in a different place all together. The way to find out where Visual Studio is looking, Click Tools/Options, select "Projects and Solutions". On the left side of the options dialog box, and look (on the right side) at the value for "User project templates location". I copied the whole "Micro Framework" folder (which contained the NetduinoApplication.zip file) from the installed incorrect location to the folder specified on my options screen, and finally I was able to create a Netduino Application. Yay! Now I have Blinky working. Next step: Figure out how to stop the blinking ... Hmmm ....

#9 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 November 2010 - 03:08 AM

Now I have Blinky working. Next step: Figure out how to stop the blinking ... Hmmm ....


Sean,

Welcome to the Netduino community!

Two options to stop the blinking:
1. Run MFDeploy (from Start > All Programs > .NET Micro Framework SDK > Tools > MFDeploy.exe), select USB transport, and press ERASE.
2. Create another app and deploy; it will write over your current Netduino app.

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.