﻿using System;

namespace $safeprojectname$
{
	public class Program
    {
        public static void Main()
        {

        }
    }
}

﻿using System;

namespace $safeprojectname$
{
	public class Program
    {
        public static void Main()
        {
	  // Insert your code below this line

		
          // The main() method has to end with this infinite loop.
          // Do not use the NETMF style : Thread.Sleep(Timeout.Infinite)
	  while (true)
          {
              Thread.Sleep(200);
          }
        }
    }
}

Update application template with working code to prevent the main thread from exiting
Update application template with working code to prevent the main thread from exiting

