Click here to Skip to main content
15,917,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey Everyone
I am getting following exception
ecall methods must be packaged into a system module

My code is

C#
using System;
using GHIElectronics.NETMF.Hardware;
using Microsoft.SPOT.Hardware;
namespace DateTime_RTC_
{
    class Program
    {

        static void Main(string[] args)
        {
            Console.WriteLine(RealTimeClock.GetTime());
            Console.ReadLine();
        }

    }
}
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900