You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/docs/languages/dotnet.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,15 @@ This will give you a full GUI Virtual Desktop for your .NET application! The Vir
29
29
30
30
## Compiling .NET Code in Gitpod
31
31
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.
33
33
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
35
35
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.
36
37
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.
0 commit comments