Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the CsharpRepl and the interactive shell are located in Mono for Win?

Tags:

c#

.net

mono

I installed Mono on Win7 and trying to find the apps outlined here.

But they don't mention where are they located and launched.

Any ideas on how to access them as a user?

like image 615
Joan Venge Avatar asked Feb 22 '23 23:02

Joan Venge


2 Answers

You just Launch the Mono command line (it's on the start menu).

Then type

csharp

And off you go

The twist is that the command line shortcut sets a bunch of environment variables (notably PATH) so that the mono binaries and batch script wrappers (!) are being found.

like image 153
sehe Avatar answered Apr 09 '23 18:04

sehe


It's the csharp.bat file in the bin directory, along with mono.exe etc.

Having put the bin directory in your path, you should just be able to run csharp from a command line and get straight in. That's certainly the case with Mono 2.10.5, which I've just installed.

like image 29
Jon Skeet Avatar answered Apr 09 '23 17:04

Jon Skeet