- Netduino Forums
- → Andy's Content
Andy's Content
There have been 7 items by Andy (Search limited from 21-April 23)
#2542 missing files?
Posted by Andy on 20 September 2010 - 06:09 PM in Visual Studio
#2537 missing files?
Posted by Andy on 20 September 2010 - 05:21 PM in Visual Studio
#2536 missing files?
Posted by Andy on 20 September 2010 - 05:04 PM in Visual Studio
#2534 missing files?
Posted by Andy on 20 September 2010 - 04:38 PM in Visual Studio
#2532 missing files?
Posted by Andy on 20 September 2010 - 04:13 PM in Visual Studio
1. ZIP up the project's directory and attach it to this post--so we can take a quick look at any odd settings that might have crept in...
nd_serialTest.zip
2. Please verify that you have selected the Netduino as your deployment target (in projet properties....NET Micro Framework tab).
Yup, Netduino is selected.
3. Create a blank Netduino Application project--does that give you the same error? If so, create a blank ".NET MF Console Application"--does that give you the same error?
Doesn't appear to, I used the Netduino as the target for this too: MFConsoleApplication_test.zip
Attached Files
- nd_serialTest.zip 45.52KB 10 downloads
- MFConsoleApplication_test.zip 37.78KB 2 downloads
#2529 missing files?
Posted by Andy on 20 September 2010 - 03:54 PM in Visual Studio
#2526 missing files?
Posted by Andy on 20 September 2010 - 03:38 PM in Visual Studio
Maybe I'm missing something obvious here but I'm trying to open a SerialPort and when I execute the port.Open() command VisualStudio is asking me where the NetduinoHardwareProvider.cs file is. I have the SDK installed and I've only run into this (so far) when trying to use a SerialPort. Any thoughts? Below is the code & error text
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using System.IO.Ports; namespace nd_serialTest { public class Program { static InputPort btn = new InputPort(Pins.ONBOARD_SW1, false, Port.ResistorMode.Disabled); static OutputPort led = new OutputPort(Pins.ONBOARD_LED, false); public static void Main() { SerialPort c1 = new SerialPort("COM1", 9600); Debug.Print("ready"); if (!c1.IsOpen) { c1.Open(); byte[] msg = System.Text.UTF8Encoding.UTF8.GetBytes("TEST"); c1.Write(msg, 0, msg.Length); c1.Close(); } } } }error text:
Locating source for 'C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs'. Checksum: MD5 {36 3 f0 c2 91 e3 ea ee 5 bc 34 44 70 d8 e1 22}
The file 'C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs' does not exist.
Looking in script documents for 'C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs'...
Looking in the projects for 'C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\vc7\atlmfc'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\vc7\crt'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs.
The debugger could not locate the source file 'C:\Documents\Secret Labs\Projects\Production\SecretLabs.NETMF.Hardware.Netduino\NetduinoHardwareProvider.cs'.
- Netduino Forums
- → Andy's Content
- Privacy Policy