build: update build script

This commit is contained in:
cxfksword 2023-11-24 21:58:21 +08:00
parent 7589b61131
commit 63d8694c21
3 changed files with 1 additions and 3 deletions

View File

@ -17,6 +17,6 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore --framework=net6.0
# - name: Test
# run: dotnet test --no-restore --verbosity normal

View File

@ -3,7 +3,6 @@
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)'=='Release' or '$(Configuration)'=='Debug'">
<PropertyGroup>
<DoILRepack>false</DoILRepack>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<ItemGroup>

View File

@ -7,7 +7,6 @@
<Nullable>enable</Nullable>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>