I tried to run my program using Visual Studio's Coderunner extension as well as from terminal with the scriptcs command.
My code is as follows:
using System;
namespace HelloWorldApplication {
class HelloWorld {
static void Main(string[] args) {
Console.WriteLine("hellowol");
}
}
}
The error message reads:
Unexpected named argument: Users/jfitz/Projects/C#/Projtest/test.cs
As mentioned in
scriptcs/scriptcsissue 1188, this is from a scriptcs bug, which will be fixed in the next release (PR 1289 and commit 9e49b72)In the meantime, pending the next 0.18 scriptcs release:
Jonas suggests in the comments: