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.

Kenny1234's Content

There have been 14 items by Kenny1234 (Search limited from 19-April 23)


By content type

See this member's

Sort by                Order  

#56282 A problem with VS Express for C#

Posted by Kenny1234 on 22 February 2014 - 08:50 PM in Visual Studio

Hi again Chris,

I solved the last problem. It appears the version of the .NET Micro Framework was not compatible with the Netduino I'm was using. For anyone else that may have this problem this is what I did. While my project was loaded into VS 2012, I clicked the Project menu and opened Properties at the bottom of the list. If you're not on the Application page then click Application on the left side of your screen. On this page go to Target Framework and click the down arrow. A drop down list appears. I clicked .NET Micro Framework 4.1. The .NET Micro Framework was defaulted to 4.2.  Then I closed Visual Studio Express 2012 and restarted it again.  Reopen my project and clicked the Start button which is the same as pressing the F5 key on VS 2010.  It compiled and uploaded to the Netduino board and the onboard LED started blinking. Finally everything works! Thank you again Chris for helping me with this problem. As I asked in a previous post, which one of us is supposed to click the "Mark Solved" button.




#56280 A problem with VS Express for C#

Posted by Kenny1234 on 22 February 2014 - 07:14 PM in Visual Studio

1>------ Build started: Project: Blinking_LED_Test, Configuration: Debug Any CPU ------1>  Blinking_LED_Test -> c:userskennydocumentsvisual studio 2012ProjectsBlinking_LED_TestBlinking_LED_TestbinDebugBlinking_LED_Test.exe2>------ Deploy started: Project: Blinking_LED_Test, Configuration: Debug Any CPU ------2>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 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==================== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
using System;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.Netduino;namespace Blinking_LED_Test{    public class Program    {        public static void Main()        {            // write your code here            OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);            while (true)            {                led.Write(true);                Thread.Sleep(250);                led.Write(false);                Thread.Sleep(250);            }        }    }}

Hi again Chris,

I think I spoke too soon. I seem to be having more problems with VS 2012 Express.  It's definitely recognizing the Netduino in the USB port. There are no squiggly red lines on any code so I know the code is correct.  Here are both the code and the Build Order of the Output Window.  The error seems to be in the version of the mscorelib or any of his satellite assemblies.  Now how do I correct this?




#56279 A problem with VS Express for C#

Posted by Kenny1234 on 22 February 2014 - 06:04 PM in Visual Studio

Hi Chris,

It worked perfectly!  The VS 2012 Express installed flawlessly. I haven't tested it on the Netduino board yet, but at least I know the software is working properly. I'll test it using a blinking LED program just to make sure there is communication between the Netduino and VS Express.  Thank you so much for your help.  Do I click the "Mark Solved" button or do you?  :)




#56255 A problem with VS Express for C#

Posted by Kenny1234 on 21 February 2014 - 09:21 PM in Visual Studio

Hi Chris,

I found the VS 2012 download in the previous link you sent me. When I click on download, it gives me a choice of two files to download. They are wdexpress_full.exe  or  VS2012_WDX_ENU.iso. Which one should I choose?




#56252 A problem with VS Express for C#

Posted by Kenny1234 on 21 February 2014 - 04:24 PM in Visual Studio

Hi Chris,

I uninstalled everything. Do you have the link to the Visual Studio 2012 Express for C#?  Do I also have to install it in a certain order?




#56238 A problem with VS Express for C#

Posted by Kenny1234 on 20 February 2014 - 09:38 PM in Visual Studio

Hi again Chris,

These are the only programs that I can find in "Add/Remove Programs" in Control Panel.

I don't see the NETMK SDK in the list. Are these the only programs that I should remove?

 

Netduino SDK v4.22 (January 2013)

Microsoft Visual Studio 2010 ADO.NET Entity Framework Tool

Microsoft Visual Studio 2010 Express Prerequisite x64 - ENU

Microsoft Visual Studio 2010 Shell (Isolated) - ENU




#56206 A problem with VS Express for C#

Posted by Kenny1234 on 19 February 2014 - 02:12 PM in Visual Studio

How do I uninstall the NETMF SDK?  Can I use "Add/Remove Programs" in Control Panel?




#56187 A problem with VS Express for C#

Posted by Kenny1234 on 19 February 2014 - 01:10 AM in Visual Studio

I think your second option is better.  Before I download the VS 2012 Express, should I uninstall the 2010 version first? Do I also have to reinstall the Netduino SDK?  Also where do I find the SecretLabs.NETMF.Hardware.Analoginput.dll  and  the SecretLabs.NETMF.Hardware.PWM.dll  files?




#56174 A problem with VS Express for C#

Posted by Kenny1234 on 18 February 2014 - 06:17 PM in Visual Studio

I think I found the problem but I don't know how to correct it.  First I went into Command Prompt in the c: directory and did a system wide search for the folder NetduinoApllication.zip  and I found it in my Documents folder in the VS 2010 folder. All the files and folders you're talking about are there.  But the executable file that starts VS Express 2010 is not in any folders in in the VS Express that's in my documents folder. But that executable file is in the copy of VS Express 2010 that's in the Program Files (x86) folder. Now how can I merge these two copies to get all the files and folders where they belong?




#56163 A problem with VS Express for C#

Posted by Kenny1234 on 18 February 2014 - 05:52 AM in Visual Studio

Chris, I also have Visual Studio Express 2013 on this computer. Is it possible that having two different versions of VS Express are causing a conflict?  Should I delete the 2013 version and then try uninstalling and reinstalling the Netduino SDK?




#56161 A problem with VS Express for C#

Posted by Kenny1234 on 18 February 2014 - 05:39 AM in Visual Studio

Now we're getting somewhere.  I checked the directories in C:Program Files (x86)Secret LabsNetduino SDK folder and it contains both the Drivers and Assemblies folders.  The Drivers folder contains two other folders named MFUSB and WINUSB.  The Assemblies folder contains two folders named v4.1 and v4.2.  Then I checked the folder C:Program Files (x86)Microsoft Visual Studio 10.0  and did not find the NetduinoApplication.zip file.  There is a folder called Common7 that contains a folder called IDE which contains both the ProjectTemplates and ProjectTemplatesCache folders.  The ProjestTemplates folder contains a CSharp folder that has a Micro Framework folder in it that contains the following folders:

 

ClassLibrary

ConsoleApllication

Emulator

WindowApplication

 

The ProjectTemplateCache folder contains a CSharp folder that contains a Micro Framework folder that contains the following .zip folders:

 

ClassLibray.zip

ConsoleApplication.zip

Emulator.zip

WindowApplication.zip

 

The NetduinoApplicatio.zip file is nowhere to be found.




#56155 A problem with VS Express for C#

Posted by Kenny1234 on 17 February 2014 - 09:46 PM in Visual Studio

I uninstalled the Netduino SDK and then reinstalled it using the link you posted and it's still not working. It still shows the same six templates but not the "Netduino Application" template. Before I started the VS Express 2010 for C# software, I first plugged in the Netduino into the USB port. I verified in Device Manager that it was acknowledged and I also saw that Windows had installed the device drivers. But it had to search online for them. Didn't the Netduino SDK install the drivers? Windows shouldn't have had to search for them.




#56148 A problem with VS Express for C#

Posted by Kenny1234 on 17 February 2014 - 06:19 PM in Visual Studio

Hi Chris, thanks for replying. I installed the VS Express 2010 for C#.  The templates available are:

 

Windows Forms Application

WPF Application

Console Application

Class Library

WPF Browser

Empty Project

 

According to the "Getting Started With Netduino" book, there should be a template called "Netduino Application". But it's not there.




#56137 A problem with VS Express for C#

Posted by Kenny1234 on 17 February 2014 - 04:04 AM in Visual Studio

I recently purchased a "Getting Started with Netduino Kit". I'm installing the software on my Windows 7, 64-bit computer. I installed Visual Studio Express for C#, then the .NET framework, and finally the Netduino SDK.. When I plug the Netduino into the USB port, the computer acknowledges it and loads in the drivers. But when I start the VS Express application and click New Project, and select Visual C#> Micro Framework, there is no option for me to select the Netduino Application. This is supposed to be the easy part and I can't get past this. What am I doing wrong?





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.