parent
cc76c7295c
commit
4e0899ddb5
@ -1,6 +1,7 @@
|
||||
## One-time setup
|
||||
|
||||
https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu
|
||||
|
||||
One-time setup:
|
||||
```shell
|
||||
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
||||
sudo dpkg -i packages-microsoft-prod.deb
|
||||
@ -19,7 +20,7 @@ dotnet run
|
||||
More documentation on `dotnet new`:
|
||||
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new
|
||||
|
||||
Stuff specific to MonoGame:
|
||||
## Stuff specific to MonoGame
|
||||
https://docs.monogame.net/articles/getting_started/1_setting_up_your_development_environment_ubuntu.html
|
||||
```shell
|
||||
sudo apt install dotnet-sdk-3.1
|
||||
@ -29,3 +30,9 @@ mgcb-editor --register
|
||||
dotnet build DesktopGL/DesktopGL.csproj
|
||||
dotnet run --project DesktopGL/DesktopGL.csproj
|
||||
```
|
||||
|
||||
## Publishing a Linux executable from Windows
|
||||
|
||||
```shell
|
||||
dotnet publish -c Release -o mygame --self-contained --runtime linux-x64
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user