server publish.sh
This commit is contained in:
parent
88387461c9
commit
4f0f85d681
@ -1,12 +1,15 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<LangVersion>12</LangVersion>
|
||||||
<ImplicitUsings>disable</ImplicitUsings>
|
<ImplicitUsings>disable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<RootNamespace>launcher_server</RootNamespace>
|
<RootNamespace>launcher_server</RootNamespace>
|
||||||
<AssemblyName>minecraft-launcher-server</AssemblyName>
|
<AssemblyName>minecraft-launcher-server</AssemblyName>
|
||||||
<ApplicationIcon>launcher.ico</ApplicationIcon>
|
<ApplicationIcon>launcher.ico</ApplicationIcon>
|
||||||
|
<DebugType>embedded</DebugType>
|
||||||
|
<InvariantGlobalization>true</InvariantGlobalization>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" />
|
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" />
|
||||||
|
|||||||
@ -1,7 +1 @@
|
|||||||
dotnet publish -c Release -o bin/publish \
|
dotnet publish -c Release -o bin/publish
|
||||||
-p:PublishSingleFile=true \
|
|
||||||
-p:PublishTrimmed=true \
|
|
||||||
-p:TrimMode=partial \
|
|
||||||
-p:EnableCompressionInSingleFile=true \
|
|
||||||
-p:InvariantGlobalization=true \
|
|
||||||
-p:DebugType=embedded
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user