Compiling a single-file C# program from vim does not create executable in the same directory.

I use gVim to write simple C# programs. Then I use the command

:!csc %

Which expands to

C:WINDOWSsystem32cmd.exe /c (csc F:cSharpProgramminghelloWorld.cs)

However, there is NO executable in the directory of the .cs file. The compilation is successful though.

How can I get the executable in the same directory?

submitted by /u/aksh2161989
[link] [comments]

Leave a Reply