Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 14 May 2015
Offline Last Active May 28 2015 11:11 AM

Topics I've Started

Strangeness with System.Security

28 May 2015 - 02:33 AM

It seems that if System.Security (from .NET MF) is added to a project and then deployed to my Netduino 3, the entire device crashes and burns. It becomes completely unresponsive and I am left with no option but to flash the device. It doesn't matter if you are actually using the assembly; just having it in the references will crash the Netduino, even if nothing from the assembly is even used. Once the reference is removed, everything is fine.


When deploying/debugging with Visual Studio, the debugger halts as it tries to load the symbols for System.Security. But even if the debugger is not attached, the Netduino just dies.


I have reproduced this with a very simple project that simply flashes the LED.


I have noticed that System.Security does not appear to be in the firmware for, even though Visual Studio marks "Copy Local" as false. Setting "Copy Local" to true doesn't help because then VS says that it can't find %ProgramFiles(x86)%\Microsoft .NET Micros Framework\v4.3\Assemblies\le\LE\ ... which doesn't exist at that location although it is in the Assemblies\le folder. Creating this folder and moving the files there so VS will happily try to deploy does not fix anything.


Any ideas on why this is happening?


Right now, there's nothing that I really need in this assembly but since it kept me up until the wee hours of the morning last night, I'm really curious if anyone has any ideas on what's going on.

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.