mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 13:15:42 +12:00
78 lines
3.1 KiB
XML
Executable file
78 lines
3.1 KiB
XML
Executable file
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>HISP</RootNamespace>
|
|
<LangVersion>8.0</LangVersion>
|
|
<Platforms>x64;x86;ARM;ARM64;AnyCPU</Platforms>
|
|
<Configurations>Windows;Debug;Linux</Configurations>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<SubType>Designer</SubType>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="icon.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="MySqlConnector" Version="1.2.1" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<PostBuildEvent Condition="'$(OS)' == 'Windows_NT'">
|
|
copy "$(SolutionDir)..\DataCollection\gamedata.json" "$(TargetDir)gamedata.json" /Y
|
|
copy "$(SolutionDir)..\DataCollection\HI1.MAP" "$(TargetDir)HI1.MAP" /Y
|
|
</PostBuildEvent>
|
|
<PostBuildEvent Condition="'$(OS)' != 'Windows_NT'">
|
|
cp -f "$(SolutionDir)..\DataCollection\gamedata.json" "$(TargetDir)gamedata.json"
|
|
cp -f "$(SolutionDir)..\DataCollection\HI1.MAP" "$(TargetDir)HI1.MAP"
|
|
</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<NoWin32Manifest>true</NoWin32Manifest>
|
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">
|
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x64'">
|
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Linux|x64'">
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Linux|ARM'">
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>ARM</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Linux|ARM64'">
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
</PropertyGroup>
|
|
</Project>
|