63 lines
2.1 KiB
XML
63 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ApplicationIcon>hangover.ico</ApplicationIcon>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<IsPublishable>true</IsPublishable>
|
|
<PublishReadyToRun>true</PublishReadyToRun>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!--
|
|
HACK FOR COMPILER BUG 2021-09-14. Hopefully will be fixed in future versions
|
|
- Not using SatelliteResourceLanguages will load all language packs: works
|
|
- Specifying 'en' semicolon 1 more should load 1 language pack: works
|
|
- Specifying only 'en' should load no language packs: broken, still loads all
|
|
-->
|
|
<SatelliteResourceLanguages>en;es</SatelliteResourceLanguages>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
When LibationWinForms and Hangover output to the same dir, Hangover must build before LibationWinForms
|
|
|
|
VS > rt-clk solution > Properties
|
|
left: Project Dependencies
|
|
top: Projects: LibationWinForms
|
|
bottom: manually check Hangover
|
|
|
|
edit debug and release output paths
|
|
-->
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<OutputPath>..\bin\Debug</OutputPath>
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<OutputPath>..\bin\Release</OutputPath>
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\HangoverBase\HangoverBase.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Form1.*.cs">
|
|
<DependentUpon>Form1.cs</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<Target Name="SpicNSpan" AfterTargets="Clean">
|
|
<!-- Remove obj folder -->
|
|
<RemoveDir Directories="$(BaseIntermediateOutputPath)" />
|
|
<!-- Remove bin folder -->
|
|
<RemoveDir Directories="$(BaseOutputPath)" />
|
|
</Target>
|
|
|
|
</Project> |