Problem z kompilacją Serwera

0

Witam, chciałem napisać sobie serwer który będe wykorzystywał przy swoim projekcie aplikacji sieciowej i podczas kompilacji natrafiłem na następujący błąd:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\Microsoft.CSharp.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\mscorlib.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Deployment.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Drawing.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Windows.Forms.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Xml.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\x86\Debug\WindowsFormsApplication1.exe /resource:obj\x86\Debug\WindowsFormsApplication1.Form1.resources /resource:obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources /target:winexe Form1.cs Form1.Designer.cs Klient.cs Listener.cs Properties\AssemblyInfo.cs Serwer.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs "C:\Users\Wisnia\AppData\Local\Temp.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs"

próbowałem usunąć "tylko do odczytu" właściwość folderu ale to nic nie dało

jeżeli ktoś wiedziałby jak to naprawić byłbym wdzięczny za pomoc

PS: link do projektu https://drive.google.com/folderview?id=0B3kciEOc0oFjSVk3blUyX19VeVE&usp=sharing

1

Ja tu widzę wywołanie kompilatora C# z parametrami, gdzie jest treść błędu?

0

ojoj źle mi się skopjowało ;/

oto błąd:

error CS5001: Program 'C:\Users\Wisnia\Desktop\Serwer Moja Robota\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe' does not contain a static 'Main' method suitable for an entry point

0

A oto odpowiedź kiedy występuje, więc po prostu sprawdź warianty. http://msdn.microsoft.com/en-us/library/1y814bzs%28v=vs.90%29.aspx

0

Problem rozwiązany .....

static void Main()
{
Application.Run(new Form1());
}

coś takiego wystarczyło

1 użytkowników online, w tym zalogowanych: 0, gości: 1