Skip to content

Commit 9237ba9

Browse files
committed
add cmd txt
1 parent d15ecc4 commit 9237ba9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cmd.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
sudo apt update
2+
sudo apt install -y wget apt-transport-https
3+
4+
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
5+
sudo dpkg -i packages-microsoft-prod.deb
6+
7+
sudo apt update
8+
9+
sudo apt install -y dotnet-sdk-8.0
10+
11+
dotnet --version
12+
13+
sudo apt install -y aspnetcore-runtime-8.0
14+
15+
16+
dotnet publish "ServerSample.csproj" -c Release -r linux-x64 --self-contained true /p:IncludeNativeLibrariesForSelfExtract=true

0 commit comments

Comments
 (0)