Is it possible to compile a single C# file using the new .NET cross-platform toolchain (DNX/DNU) without first making a project.json file?
For example, with Mono you can do:
mcs Program.cs
The mcs
command creates Program.exe
if it finds a Main
method otherwise it creates Program.dll
.
I'm trying to build on Mac and Ubuntu using the open source Microsoft tools instead of Mono. I make a ton of tiny little programs for demonstration purposes and I don't want to have to create a project.json file every time.