Cannot find any entrypoint!

@ Cuno - I don’t know of any github issue, and I suspect it is actually at least two issues:

  1. Some changes in assy’s are either not detected or are detected and not deployed, and the board ends up running stale code
  2. VS looses track of the USB connection and cannot deploy until you switch to Serial and back to USB (it lists the connection, but cannot use it until you cycle the connection)

I have seen 1 most often when switching between debug and release and see 2 mostly after a re-flash or when first starting VS.

I will open up issues in github for both items. They can always resolve them as duplicates.

@ the time I was playing around with VS 2015 the deployment was much more stable and that USB/Serial switching was not needed anymore. This was only for plain netmf projects but I experienced it as a major relief. Than again, that was december 2014 timeframe, there could have been some changes asof than …

Since VS 2015 will be out on 7/20 (maybe even earlier to MSDN subs) I would give that a try … at least for plain vanilla netmf projects.

I finally got it working. I tried flashing the firmware in my own board but I could not get it to deploy and run.

I then put the G400 in the HDR board and tried running. It failed.

Reflashed and it failed.

Reflashed again and now it is working and has been deploying and debugging all night. :think:

Sounds like the same process I used with the Discovery429 last week - just keep hitting it over the head with bits until you get its attention.

I reopened a number of issues, e.g. Cannot find any entrypoint! · Issue #229 · NETMF/netmf-interpreter · GitHub

1 Like

As you said, I think there are a number of issues here - at least three distinct repro cases, but I haven’t opened issues for the two I described because I can’t get a consistent repro case. That’s an excellent bug description by the way - I wish all Microsoft QFE bugs came in that way. That said, all I have is an occasional annoyance and multiple people hitting the same thing, but no consistent description/repro.

I had similar issue in VS 2013, I went to Buid->Configuration Manager and tick the deploy option, which has solved the problem.

Hi All,

Has this been resolved yet?

I have followed the Startup guide for a Cobra III and written a program just test my new setup, and I get the message that started this thread.

I have a NETMF 4.3 app, with G120_120 connected over USB and according to VS2013, the app deploys but when I try a run it in debug mode, nothing happens and the “Cannot find any entrypoint!” message appears.

I have tried rebuilding, redeploying, restarting VS2013 but there is still nothing happening.

Code below, please help.

using System;
using System.Threading;

using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;

using GHI.Processor;
using GHI.Pins;

namespace MFConsoleApplication1
{
    public class Program
    {
        public static void Main()
        {
            int i;
            bool state = true;
            OutputPort LED1;
            OutputPort LED2;

            LED1 = new OutputPort(G120.P1_14, true);
            LED2 = new OutputPort(G120.P1_19, false);

            for (i = 0; i < 20; i++)
            {

                LED1.Write(state);
                Debug.Print("LED1 written as " + state);
                LED2.Write(!state);
                Debug.Print("LED2 written as " + !state);

                state = !state;

                Debug.Print("Sleeping");
                Thread.Sleep(1000);
            }
        }
    }
}

Have you set: Project -> Properties: Application startup object ?