to make a server. However, when I tried to do it in the ide (visual studio 2008), I got an error bellow
-----------------------------
Error 1 Program 'C:\Users\reza\Documents\Visual Studio 2008\Projects\WpfApplication2\WpfApplication2\obj\Debug\WpfApplication2.exe' has more than one entry point defined: 'WpfApplication2.App.Main()'. Compile with /main to specify the type that contains the entry point. C:\Users\reza\Documents\Visual Studio 2008\Projects\WpfApplication2\WpfApplication2\obj\Debug\App.g.cs 59 28 WpfApplication2
Error 2 Program 'C:\Users\reza\Documents\Visual Studio 2008\Projects\WpfApplication2\WpfApplication2\obj\Debug\WpfApplication2.exe' has more than one entry point defined: 'serv.Main()'. Compile with /main to specify the type that contains the entry point. C:\Users\reza\Documents\Visual Studio 2008\Projects\WpfApplication2\WpfApplication2\Window1.xaml.cs 8 24 WpfApplication2
---------------------------
It seems that there are to main functions, one in App.g.cs and the other one in Window1.xaml.cs. How am I supposed to fix this? I am sorry, but if it's possible, I would very appreciate if you use a simple language for explanation (not too high, I am still trying to grasp this language..)
Bookmarks