PKHeX/PKHeX.WinForms/PKHeX.WinForms.csproj
Kurt cce4707604
Enable nullable for winforms csproj (#3037)
Handle all warnings
obviously the usage of null! could potentially be avoided if the object init wasn't such garbage, but here we are with years of old junk and lack of abstraction in the GUI project
2020-10-18 11:02:39 -07:00

90 lines
No EOL
3.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net46;netcoreapp3.1</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<PackageId>PKHeX</PackageId>
<Company>Project Pokémon</Company>
<Authors>Kaphotics</Authors>
<Product>PKHeX</Product>
<Description>Pokémon Save Editor</Description>
<ApplicationIcon>Resources\Icon.ico</ApplicationIcon>
<StartupObject>PKHeX.WinForms.Program</StartupObject>
<AssemblyName>PKHeX</AssemblyName>
<Version>20.10.10</Version>
<LangVersion>8</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Remove="Resources\byte\fashion_f_sm" />
<None Remove="Resources\byte\fashion_f_sm_illegal" />
<None Remove="Resources\byte\fashion_m_sm" />
<None Remove="Resources\byte\fashion_m_sm_illegal" />
<None Remove="Resources\byte\PGLDings-NormalRegular.ttf" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\byte\fashion_f_sm" />
<EmbeddedResource Include="Resources\byte\fashion_f_sm_illegal" />
<EmbeddedResource Include="Resources\byte\fashion_m_sm" />
<EmbeddedResource Include="Resources\byte\fashion_m_sm_illegal" />
<EmbeddedResource Include="Resources\byte\PGLDings-NormalRegular.ttf" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\text\version.txt" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4')) AND '$(Configuration)' == 'Release'">
<PackageReference Include="Costura.Fody" Version="4.1.0" />
<PackageReference Include="Fody" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PKHeX.Core\PKHeX.Core.csproj" />
<ProjectReference Include="..\PKHeX.Drawing\PKHeX.Drawing.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net46'">
<Reference Include="System.Configuration" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Update="Properties\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Subforms\Save Editors\SAV_Inventory.resx">
<DependentUpon>SAV_Inventory.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
</Project>