2018-04-10 07:32:00 +08:00
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<!--
|
|
|
|
|
|
|
|
This build task is run from the ModBuildConfig project after it's been compiled, and copies the
|
|
|
|
package files to the bin\Pathoschild.Stardew.ModBuildConfig folder.
|
|
|
|
|
|
|
|
-->
|
2019-09-14 05:22:45 +08:00
|
|
|
<Target Name="PreparePackage" AfterTargets="AfterBuild">
|
2018-04-10 07:32:00 +08:00
|
|
|
<PropertyGroup>
|
|
|
|
<PackagePath>$(SolutionDir)\..\bin\Pathoschild.Stardew.ModBuildConfig</PackagePath>
|
|
|
|
</PropertyGroup>
|
|
|
|
<RemoveDir Directories="$(PackagePath)" />
|
|
|
|
<Copy SourceFiles="$(ProjectDir)/package.nuspec" DestinationFolder="$(PackagePath)" />
|
2019-06-19 11:10:11 +08:00
|
|
|
<Copy SourceFiles="$(SolutionDir)/../build/find-game-folder.targets" DestinationFolder="$(PackagePath)/build" />
|
2018-04-10 07:32:00 +08:00
|
|
|
<Copy SourceFiles="$(ProjectDir)/build/smapi.targets" DestinationFiles="$(PackagePath)/build/Pathoschild.Stardew.ModBuildConfig.targets" />
|
2018-08-20 10:35:55 +08:00
|
|
|
<Copy SourceFiles="$(TargetDir)/Newtonsoft.Json.dll" DestinationFolder="$(PackagePath)/build" />
|
2019-04-25 12:50:26 +08:00
|
|
|
<Copy SourceFiles="$(TargetDir)/SMAPI.ModBuildConfig.dll" DestinationFolder="$(PackagePath)/build" />
|
|
|
|
<Copy SourceFiles="$(TargetDir)/SMAPI.Toolkit.dll" DestinationFolder="$(PackagePath)/build" />
|
|
|
|
<Copy SourceFiles="$(TargetDir)/SMAPI.Toolkit.CoreInterfaces.dll" DestinationFolder="$(PackagePath)/build" />
|
|
|
|
<Copy SourceFiles="$(SolutionDir)/SMAPI.ModBuildConfig.Analyzer/bin/netstandard1.3/SMAPI.ModBuildConfig.Analyzer.dll" DestinationFolder="$(PackagePath)/analyzers/dotnet/cs" />
|
2018-04-10 07:32:00 +08:00
|
|
|
</Target>
|
|
|
|
</Project>
|