Home→Forums→MonoBrick EV3 Firmware→Using Visual Studio
- This topic has 8 replies, 2 voices, and was last updated 11 years, 9 months ago by
Anders Søborg.
-
AuthorPosts
-
January 5, 2014 at 19:14 #3765

pocketpcParticipantI can’t figure out how to do this with Visual Studio. I created a new project, referenced the MonoBrick DLL, pasted the example program into a new class, built the project, and copied the exe and the pdb from bin/debug to the apps folder on the SD card, but when I run the program, nothing happens. Am I missing something here?
January 5, 2014 at 19:26 #3766
Anders SøborgKeymasterHi
Ok – did you copy the MonoBrick.dll as well? If not you will get an exception and the program will crash. We are working on some way to notify the user if you get an exception during runtime.
Anders
January 6, 2014 at 00:00 #3767
pocketpcParticipantDo I have to copy monobrick.dll to the SD card? I already put it in the project folder and added it as a reference.
January 6, 2014 at 07:34 #3768
Anders SøborgKeymasterYes copy the file on the SD card.
From the programming guide
With WinSCP copy all files to the apps folder on the EV3
Anders
January 6, 2014 at 23:53 #3782
pocketpcParticipantI copied everything from bin/debug to the apps folder, including monobrick.dll, and the program still won’t run.
January 7, 2014 at 00:00 #3783
Anders SøborgKeymasterHi
Try to ssh to the brick. Go to the apps folder and write “mono yourProgramname.exe” – What happens?
Anders
January 7, 2014 at 14:31 #3790
pocketpcParticipantIs it possible to SSH via USB? I don’t have a wifi dongle and my laptop’s Bluetooth is shot.
January 7, 2014 at 15:10 #3791
Anders SøborgKeymasterHi again
I was under the impression that you used the WinSCP to copy the files to the EV3 over WiFi – I will try to reproduce the problem tonight. As for
Is it possible to SSH via USB? I don’t have a wifi dongle and my laptop’s Bluetooth is shot.
No this is not possible at the moment – but we will add USB and BT in one of the next releases.
Anders
January 8, 2014 at 22:19 #3811
Anders SøborgKeymasterHi Again
I just tested the copy to scenario my EV3 and everything is working fine. Here is what I did
- Shut down my EV3
- Plug the SD card into my Mac
- Copied all compiled files from bin/debug on my Mac to the SD card LMS2012/apps
- Plug the SD into the EV3
- Boot the EV3
- Run the program
Could you please give me a detailed description of what you did? How did you compile the program?
Anders
-
AuthorPosts
You must be logged in to reply to this topic.

Follow