dotnet build -c Release-no-self
dotnet zip --no-restore -c Release-no-self
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>_444</RootNamespace>
<Configurations>Debug;Release;Release-no-self</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-no-self|AnyCPU'">
<SelfContained>False</SelfContained>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Packaging.Targets" Version="$(PackagingNuGetVersion)" />
</ItemGroup>
<PropertyGroup>
<PostInstallScript>
</PostInstallScript>
<PostRemoveScript>
</PostRemoveScript>
</PropertyGroup>
<Target Name="PackageZip" DependsOnTargets="CreateZip" Outputs="$(ZipPath)"/>
<Target Name="PackageTarball" DependsOnTargets="CreateTarball" Outputs="$(TarballPath)"/>
<Target Name="PackageDebian" DependsOnTargets="CreateDeb" Outputs="$(DebPath)"/>
<Target Name="PackageRpm" DependsOnTargets="CreateRpm" Outputs="$(RpmPath)"/>
</Project>