Fix packaging

This commit is contained in:
Liza 2022-10-23 17:42:16 +02:00
parent c1cc696fec
commit 19a57cf118
3 changed files with 10 additions and 2 deletions

1
Pal.Client/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/dist

View File

@ -5,7 +5,8 @@
ProjectDir="$(ProjectDir)"
OutputPath="$(OutputPath)"
AssemblyName="$(AssemblyName)"
MakeZip="false"/>
MakeZip="false"
VersionComponents="2"/>
</Target>
<Target Name="PackagePlugin" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
@ -13,6 +14,7 @@
ProjectDir="$(ProjectDir)"
OutputPath="$(OutputPath)"
AssemblyName="$(AssemblyName)"
MakeZip="true"/>
MakeZip="true"
VersionComponents="2"/>
</Target>
</Project>

View File

@ -11,6 +11,11 @@
<PlatformTarget>x64</PlatformTarget>
<AssemblyName>Palace Pal</AssemblyName>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<OutputPath>dist</OutputPath>
</PropertyGroup>
<ItemGroup>