FezDomino only runs in debug mode

I can’t get my Domino on the 4.1 framework to run without the debugger to start it. Here is the code


using System;
using Microsoft.SPOT;
using System.Threading;
using Microsoft.SPOT.Hardware;

namespace MFConsoleApplication2 {
    public class Program {
        public static void Main() {
            OutputPort debugLed = new OutputPort((Cpu.Pin)GHIElectronics.NETMF.FEZ.FEZ_Pin.Digital.LED, false);
            bool _value = true;
            while (true) {
                Thread.Sleep(1000);
                debugLed.Write(_value);
                _value = !_value;
            }
        }
    }
}

Does anyone have any suggestions?

https://www.ghielectronics.com/community/forum/topic?id=14284&page=3

Power it via external power source, or use MFDeploy. (must be related to winusb change)

@ Brett - I powered it with a USB battery pack I have. It worked outright. So this is a bug?

it is irrelevant if it is :slight_smile: How about we call it a known situation and move on. If you need the app to run while connected to a PC, use MFDeploy to eat the debug messages

Is this specific to Windows 10?