conditional language embedding
MODIFY
HunterPie/HunterPie.csproj
HunterPie/HunterPie.csproj
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
+ <Choose>
+ <When Condition=" '$(Configuration)'!='Release'">
<ItemGroup>
<EmbeddedResource Include="Languages\en-us.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
+ </When>
+ <Otherwise>
+ <ItemGroup>
+ <None Include="Languages\en-us.xml">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+ </Otherwise>
+ </Choose>
<ItemGroup>
<None Include="Languages\es-es.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

conditional language embedding