Skip to content

zhsy53/Stock2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

service for stock

config

# 重置依赖
dotnet nuget locals all --clear
dotnet restore
# 添加依赖
dotnet add package CsvHelper --version 30.0.1

# 运行
dotnet run -- arg1 arg2 ...

AOT

https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/ https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/compiling.md

apt-get install clang zlib1g-dev

dotnet publish --help

dotnet publish -c Release -o ./target

# 查看
dpkg --print-architecture
# https://learn.microsoft.com/en-us/dotnet/core/rid-catalog

dotnet restore && dotnet clean

dotnet publish -o=./target --sc -r=linux-x64 -c=Release 
# # 通过.csproj配置?
dotnet publish -o=./target --sc -r=linux-x64 -c=Release -p:PublishAot=true -p:PublishTrimmed=true --disable-build-servers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published