From c67da65cd8152273398a6b47ed6d8f51d197c581 Mon Sep 17 00:00:00 2001 From: trawzified <55751269+tr4wzified@users.noreply.github.com> Date: Thu, 16 May 2024 21:50:49 +0200 Subject: [PATCH] Fix trimming breaking dependency injection on publish --- .../Properties/PublishProfiles/FolderProfile.pubxml | 3 ++- Wabbajack.CLI/Verbs/SetNexusApiKey.cs | 5 ++--- Wabbajack.CLI/Wabbajack.CLI.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Wabbajack.CLI/Properties/PublishProfiles/FolderProfile.pubxml b/Wabbajack.CLI/Properties/PublishProfiles/FolderProfile.pubxml index 57b24e02..8345a901 100644 --- a/Wabbajack.CLI/Properties/PublishProfiles/FolderProfile.pubxml +++ b/Wabbajack.CLI/Properties/PublishProfiles/FolderProfile.pubxml @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Release Any CPU - bin\Release\net8.0-windows\publish\ + bin\Release\net8.0\publish\win-x64\ FileSystem <_TargetId>Folder net8.0 @@ -14,5 +14,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121. true false false + false \ No newline at end of file diff --git a/Wabbajack.CLI/Verbs/SetNexusApiKey.cs b/Wabbajack.CLI/Verbs/SetNexusApiKey.cs index 37bf618d..95775d7f 100644 --- a/Wabbajack.CLI/Verbs/SetNexusApiKey.cs +++ b/Wabbajack.CLI/Verbs/SetNexusApiKey.cs @@ -25,10 +25,9 @@ public class SetNexusApiKey public static VerbDefinition Definition = new VerbDefinition("set-nexus-api-key", "Sets the Nexus API key to the specified value", - new[] - { + [ new OptionDefinition(typeof(string), "k", "key", "The Nexus API key") - }); + ]); public async Task Run(string key) { diff --git a/Wabbajack.CLI/Wabbajack.CLI.csproj b/Wabbajack.CLI/Wabbajack.CLI.csproj index 4b656cf1..f3af5d29 100644 --- a/Wabbajack.CLI/Wabbajack.CLI.csproj +++ b/Wabbajack.CLI/Wabbajack.CLI.csproj @@ -8,7 +8,7 @@ GPL-3.0-or-later $(VERSION) wabbajack-cli - true + false linked CS8600 CS8601