update mod build package, simplify build settings
This commit is contained in:
parent
89ec417f26
commit
aea50245fe
|
@ -55,7 +55,7 @@
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="2.1.0" />
|
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="2.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
@ -109,33 +109,15 @@
|
||||||
<Compile Include="UIElements\SkipIntro.cs" />
|
<Compile Include="UIElements\SkipIntro.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="i18n\de.json">
|
<None Include="i18n\de.json" />
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<None Include="i18n\default.json" />
|
||||||
</None>
|
<None Include="i18n\es.json" />
|
||||||
<None Include="i18n\default.json">
|
<None Include="i18n\ja.json" />
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<None Include="i18n\pt.json" />
|
||||||
</None>
|
<None Include="i18n\ru.json" />
|
||||||
<None Include="i18n\es.json">
|
<None Include="i18n\th.json" />
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<None Include="i18n\zh.json" />
|
||||||
</None>
|
<None Include="manifest.json" />
|
||||||
<None Include="i18n\ja.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="i18n\pt.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="i18n\ru.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="i18n\th.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="i18n\zh.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="manifest.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="LevelUp license.txt">
|
<Content Include="LevelUp license.txt">
|
||||||
|
@ -152,13 +134,4 @@
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Target Name="AfterBuild">
|
|
||||||
<PropertyGroup>
|
|
||||||
<ModPath>$(GamePath)\Mods\$(TargetName)</ModPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(ModPath)" />
|
|
||||||
<Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(ModPath)" Condition="Exists('$(TargetDir)\$(TargetName).pdb')" />
|
|
||||||
<Copy SourceFiles="$(TargetDir)\$(TargetName).dll.mdb" DestinationFolder="$(ModPath)" Condition="Exists('$(TargetDir)\$(TargetName).dll.mdb')" />
|
|
||||||
<Copy SourceFiles="$(ProjectDir)manifest.json" DestinationFolder="$(ModPath)" />
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue