diff options
Diffstat (limited to 'src/TrainerMod/TrainerMod.csproj')
-rw-r--r-- | src/TrainerMod/TrainerMod.csproj | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/TrainerMod/TrainerMod.csproj b/src/TrainerMod/TrainerMod.csproj index 229e6b4d..e262e135 100644 --- a/src/TrainerMod/TrainerMod.csproj +++ b/src/TrainerMod/TrainerMod.csproj @@ -102,6 +102,11 @@ <Link>Properties\GlobalAssemblyInfo.cs</Link> </Compile> <Compile Include="Framework\Extensions.cs" /> + <Compile Include="ItemData\ISearchItem.cs" /> + <Compile Include="ItemData\ItemType.cs" /> + <Compile Include="ItemData\SearchableObject.cs" /> + <Compile Include="ItemData\SearchableRing.cs" /> + <Compile Include="ItemData\SearchableWeapon.cs" /> <Compile Include="TrainerMod.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> @@ -127,4 +132,10 @@ <!-- if game path is invalid, show one user-friendly error instead of a slew of reference errors --> <Error Condition="!Exists('$(GamePath)')" Text="Failed to find the game install path automatically; edit the *.csproj file and manually add a <GamePath> setting with the full directory path containing the Stardew Valley executable." /> </Target> + <Target Name="AfterBuild" Condition="$(Configuration) == 'Debug'"> + <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\Mods\TrainerMod" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).dll.mdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="$(OS) != 'Windows_NT'" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="$(OS) == 'Windows_NT'" /> + <Copy SourceFiles="$(TargetDir)\manifest.json" DestinationFolder="$(GamePath)\Mods\TrainerMod" /> + </Target> </Project>
\ No newline at end of file |