Disable self contained publishing for the test, web and bot dlls

This commit is contained in:
Daan Boerlage 2021-07-09 20:48:42 +02:00
parent 8fcc629106
commit 86068ecc44
Signed by: daan
GPG key ID: FCE070E1E4956606
4 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,7 @@ variables:
VERSION: 4.3.0-V$CI_COMMIT_SHORT_SHA VERSION: 4.3.0-V$CI_COMMIT_SHORT_SHA
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
# ToDo: Remove when .net6 is released # ToDo: Remove when .net6 is released
MSBuildEnableWorkloadResolver: false MSBuildEnableWorkloadResolver: 'false'
Build: Build:
stage: build stage: build

View file

@ -3,6 +3,7 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers> <RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers>
<SelfContained>false</SelfContained>
<ApplicationIcon>derp.ico</ApplicationIcon> <ApplicationIcon>derp.ico</ApplicationIcon>
<VersionSuffix>$(VersionSuffix)</VersionSuffix> <VersionSuffix>$(VersionSuffix)</VersionSuffix>
<RootNamespace>Geekbot.Bot</RootNamespace> <RootNamespace>Geekbot.Bot</RootNamespace>

View file

@ -3,6 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers> <RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers>
<SelfContained>false</SelfContained>
<VersionSuffix>$(VersionSuffix)</VersionSuffix> <VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionSuffix)</Version> <Version Condition=" '$(VersionSuffix)' != '' ">$(VersionSuffix)</Version>
<Version Condition=" '$(VersionSuffix)' == '' ">0.0.0-DEV</Version> <Version Condition=" '$(VersionSuffix)' == '' ">0.0.0-DEV</Version>

View file

@ -2,6 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers> <RuntimeIdentifiers>win10-x64;linux-x64;linux-musl-x64</RuntimeIdentifiers>
<SelfContained>false</SelfContained>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<NoWarn>NU1701</NoWarn> <NoWarn>NU1701</NoWarn>
<NoWarn>xUnit1026</NoWarn> <NoWarn>xUnit1026</NoWarn>