You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.7 KiB
76 lines
2.7 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<ApplicationIcon>icon64.ico</ApplicationIcon>
|
|
<AssemblyName>AM2RLauncher.Wpf</AssemblyName>
|
|
<StartupObject></StartupObject>
|
|
<SignAssembly>false</SignAssembly>
|
|
<PackageId>AM2RLauncher-Windows</PackageId>
|
|
<Authors>Community Developers</Authors>
|
|
<Product>AM2RLauncher</Product>
|
|
<Version>2.0.0</Version>
|
|
<Copyright>2021</Copyright>
|
|
<NeutralLanguage>en</NeutralLanguage>
|
|
<RepositoryUrl>https://github.com/AM2R-Community-Developers/AM2RLauncherRewrite/</RepositoryUrl>
|
|
<PackageProjectUrl>https://github.com/AM2R-Community-Developers/AM2RLauncherRewrite/</PackageProjectUrl>
|
|
<PackageLicenseExpression>GNU General Public License v3.0</PackageLicenseExpression>
|
|
<Description>A Launcher for AM2R that with mod capabilities.</Description>
|
|
<LangVersion>latest</LangVersion>
|
|
<Configurations>Debug;Release</Configurations>
|
|
<Platforms>AnyCPU</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AM2RLauncher\AM2RLauncher.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Eto.Platform.Windows" Version="2.7.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="app.config">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="log4net.config">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="if $(ConfigurationName) == Release (
ROBOCOPY "$(TargetDir) " "$(TargetDir)lib\ " /XF *.exe *.config *.manifest /XD lib logs data /E /IS /MOVE
if %25errorlevel%25 leq 4 exit 0 else exit %25errorlevel%25
)" />
|
|
</Target>
|
|
|
|
</Project>
|