I had deleted the App.xaml file and added new class named App.cs as the entry point. The buildAction property is compile.
class App : Application
{
[STAThread()]
static void main()
{
}
}
But when i compile an error had shown: d:\Projects\....\obj\x86\Debug\Test.exe does not contain a static 'Main' method suitable for an entry point.
How to solve this?
How to solve this?
Raja TPosted Jul 31, 2015, 8:01 AM
moredetailshttps://social.msdn.microsoft.com/Forums/en-US/facda8c9-07ac-4060-8141-1e49dc6c8808/program-program-does-not-contain-a-static-main-method-suitable-for-an-entry-point?forum=csharplanguage