From f211dbfdd2394887e4606adad8a8d19e71b8a251 Mon Sep 17 00:00:00 2001 From: genteure Date: Tue, 17 May 2022 01:48:50 +0800 Subject: [PATCH] Fix build warnings --- .../BililiveRecorder.Cli.csproj | 16 ++--- Directory.Build.props | 60 ++++++++++++------- 2 files changed, 45 insertions(+), 31 deletions(-) diff --git a/BililiveRecorder.Cli/BililiveRecorder.Cli.csproj b/BililiveRecorder.Cli/BililiveRecorder.Cli.csproj index 669a46f..ff3e09a 100644 --- a/BililiveRecorder.Cli/BililiveRecorder.Cli.csproj +++ b/BililiveRecorder.Cli/BililiveRecorder.Cli.csproj @@ -1,24 +1,18 @@ - + Exe net6.0 BililiveRecorder.Cli.Program false - win-x64;osx-x64;osx.10.11-x64;linux-arm64;linux-arm;linux-x64 - - publish\any - publish\$(RuntimeIdentifier) - false - true - + - + @@ -33,11 +27,11 @@ - + - + diff --git a/Directory.Build.props b/Directory.Build.props index 8a5dc91..5cfede6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,22 +1,42 @@ - - Copyright © 2018 - 2021 Genteure - Genteure - $(Authors) - 9.0 - enable - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + Copyright © 2018 - 2022 Genteure + Genteure + $(Authors) + 9.0 + enable + + + win-x64;osx-x64;osx.10.11-x64;linux-arm64;linux-arm;linux-x64 + + publish\any + publish\$(RuntimeIdentifier) + false + true + + + + + + + <_CommandLineDefinedSelfContained>true + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + +