mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix trimming breaking dependency injection on publish
This commit is contained in:
parent
6db4fd0737
commit
c67da65cd8
@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>bin\Release\net8.0-windows\publish\</PublishDir>
|
||||
<PublishDir>bin\Release\net8.0\publish\win-x64\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
@ -14,5 +14,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishSingleFile>false</PublishSingleFile>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -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<int> Run(string key)
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
|
||||
<Version>$(VERSION)</Version>
|
||||
<AssemblyName>wabbajack-cli</AssemblyName>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
<TimeMode>linked</TimeMode>
|
||||
<NoWarn>CS8600</NoWarn>
|
||||
<NoWarn>CS8601</NoWarn>
|
||||
|
Loading…
Reference in New Issue
Block a user