-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
When trying to run the hello_auto.cs
script with cscs /ac samples\hello_auto.cs
I get the following error message:
Error: Specified file could not be executed.
System.ApplicationException: Cannot find entry point. Make sure script file contains method: 'public static Main(...)'
at csscript.RemoteExecutor.InvokeStaticMain(Assembly compiledAssembly, String[] scriptArgs)
at csscript.CSExecutor.ExecuteImpl()
I figured the /ac
option should do the trick, what am I doing wrong?
For reference, the script looks like this:
using System;
using System.Windows.Forms;
void Main()
{
Console.WriteLine( "Hello World!" );
MessageBox.Show( "Hello World!");
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working