M
mikehtli
Guest
Trying to compile RemoteUpload.cs (Browse code samples)
using "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:exe /r:system.dll /out:RemoteUpload.exe f:\RemoteUpload.cs
I'm getting: error CS5001: Program 'c:\WINDOWS\Microsoft.NET\Framework\RemoteUpload.exe' does not contain a static 'Main' method suitable for an entry point
How could I add Main method to the code so that it could compile and get the executable?
Thanks.
Continue reading...
using "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:exe /r:system.dll /out:RemoteUpload.exe f:\RemoteUpload.cs
I'm getting: error CS5001: Program 'c:\WINDOWS\Microsoft.NET\Framework\RemoteUpload.exe' does not contain a static 'Main' method suitable for an entry point
How could I add Main method to the code so that it could compile and get the executable?
Thanks.
Continue reading...