|
1 | 1 | # .NET in Gitpod |
2 | 2 |
|
3 | | -## Example Repositories |
| 3 | +It's easy to set up your .NET project in Gitpod. |
4 | 4 |
|
| 5 | +## .NET Versions |
5 | 6 |
|
6 | | -<div class="table-container"> |
| 7 | +To get all the .NET tools that you need pre-installed in your Gitpod workspaces choose the appropriate base image for your [.gitpod.yml](https://www.gitpod.io/docs/config-gitpod-file/): |
7 | 8 |
|
8 | | -| Repository | Description | Try it | |
9 | | -|------|----------------|-----------| |
10 | | -|[dotnetcore](https://github.com/gitpod-io/dotnetcore)|C# .NET Core template|[](https://gitpod.io/#https://github.com/gitpod-io/dotnetcore)| |
11 | | -|[uno](https://github.com/unoplatform/uno)|Build Mobile, Desktop and WebAssembly apps with C# and XAML|[](https://gitpod.io/#https://github.com/unoplatform/uno)| |
12 | | -|[uno.quickstart](https://github.com/unoplatform/uno.quickstart)|An Uno "Hello world!" project using Windows UWP, iOS, Android and WebAssembly|[](https://gitpod.io/#https://github.com/unoplatform/uno.quickstart)| |
| 9 | +### Current |
13 | 10 |
|
14 | | -</div> |
| 11 | +For the latest .NET SDK and Runtime: |
15 | 12 |
|
16 | | -## Installing the .NET Tools |
17 | 13 |
|
18 | | -To get all the .NET tools that you need pre-installed in your Gitpod workspaces, use the following base image in your [.gitpod.yml](https://www.gitpod.io/docs/config-gitpod-file/): |
19 | 14 | ```YAML |
20 | 15 | image: gitpod/workspace-dotnet |
21 | 16 | ``` |
22 | 17 |
|
23 | | -If your project requires a GUI or Virtual Desktop, please use this image instead: |
| 18 | +If your project requires a GUI or Virtual Desktop: |
| 19 | +
|
24 | 20 | ```YAML |
25 | 21 | image: gitpod/workspace-dotnet-vnc |
26 | 22 | ``` |
27 | | -This will give you a full GUI Virtual Desktop for your .NET application! The Virtual Desktop will be running on port `6080`. |
| 23 | +
|
| 24 | +This will give you a full GUI Virtual Desktop running on port `6080` for your .NET application. |
| 25 | + |
| 26 | + |
| 27 | +### Long Term Support (LTS) |
| 28 | + |
| 29 | +For the latest .NET SDK and Runtime with [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core): |
| 30 | + |
| 31 | +```YAML |
| 32 | +image: gitpod/workspace-dotnet-lts |
| 33 | +``` |
| 34 | + |
| 35 | +If your project requires a GUI or Virtual Desktop: |
| 36 | + |
| 37 | +```YAML |
| 38 | +image: gitpod/workspace-dotnet-lts-vnc |
| 39 | +``` |
| 40 | + |
| 41 | +This will give you a full GUI Virtual Desktop running on port `6080` for your .NET application. |
| 42 | + |
| 43 | + |
| 44 | +## Example Repositories |
| 45 | + |
| 46 | + |
| 47 | +<div class="table-container"> |
| 48 | + |
| 49 | +| Repository | Description | Try it | |
| 50 | +|------|----------------|-----------| |
| 51 | +|[dotnetcore](https://github.com/gitpod-io/dotnetcore)|C# .NET Core template|[](https://gitpod.io/#https://github.com/gitpod-io/dotnetcore)| |
| 52 | +|[uno](https://github.com/unoplatform/uno)|Build Mobile, Desktop and WebAssembly apps with C# and XAML|[](https://gitpod.io/#https://github.com/unoplatform/uno)| |
| 53 | +|[uno.quickstart](https://github.com/unoplatform/uno.quickstart)|An Uno "Hello world!" project using Windows UWP, iOS, Android and WebAssembly|[](https://gitpod.io/#https://github.com/unoplatform/uno.quickstart)| |
| 54 | + |
| 55 | +</div> |
28 | 56 |
|
29 | 57 | ## Compiling .NET Code in Gitpod |
30 | 58 |
|
|
0 commit comments