Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 1aa96bc

Browse files
Improve .NET build and run instructions (#754)
1 parent dd8e48f commit 1aa96bc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/docs/languages/dotnet.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ This will give you a full GUI Virtual Desktop for your .NET application! The Vir
2929

3030
## Compiling .NET Code in Gitpod
3131

32-
To compile your **C#** Code in Gitpod, run `mono-csc <FILE>`, where `<FILE>` is the path to the C# program you want to compile.
32+
To compile your **C#** or **F#** Code in Gitpod, run `dotnet build <FILE>`, where `<FILE>` is the path to the C# or F# project file or .NET solution file you want to compile.
3333

34-
To compile your **F#** Code in Gitpod, run `fsharpc <FILE>`, where `<FILE>` is the path to the F# program you want to compile.
34+
## Running .NET Code in Gitpod
3535

36+
To run your code after it has been compiled run `dotnet <FILE>` where `<FILE>` is the path to the EXE file you want to run. You can also run application with `dotnet run <FILE>` where `<FILE>` is the path to the C# or F# project file you want to compile and run.
3637

37-
## Running *.EXE files in Gitpod
38-
To run your code after it has been compiled run `mono <FILE>` where `<FILE>` is the path to the EXE file you want to run
38+
## Running .NET Code in watch-mode
39+
40+
Alternatively, you can also run your application in so-called watch-mode. In such configuration the application will recompile and rerun itself every time you save any source file belonging to the project. To run your code in watch-mode use `dotnet watch --project <FILE> run` where `<FILE>` is the path to the C# or F# project file you want to compile and run.
3941

4042
## Useful VSCode Extensions
4143

@@ -55,14 +57,15 @@ vscode:
5557

5658
![Ionide fsharp Example](../images/Iondine_Example.png)
5759

58-
Ionide-fsharp gives F# developers the following features:
60+
[Ionide-fsharp](https://ionide.io/) gives F# developers the following features:
5961

6062
* A Widget for your F# needs
6163
* Auto completion
6264
* Shows errors inline
6365
* Quickfix
6466
* Goto definition
6567
* Peek definition
68+
* And more...
6669

6770
To add this extension to your repository, add the following to your [.gitpod.yml](https://www.gitpod.io/docs/config-gitpod-file/):
6871

0 commit comments

Comments
 (0)