From 6fdb29d806eddd17f0ac33401781f7df58639075 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 10 Jan 2019 19:30:11 -0500 Subject: drop support for old versions of SMAPI and Visual Studio in mod build package --- src/SMAPI.ModBuildConfig/build/smapi.targets | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index e6c3fa57..99011629 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -102,7 +102,6 @@ $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll - $(GamePath)\StardewModdingAPI.Toolkit.CoreInterfaces.dll false true @@ -142,7 +141,6 @@ $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll - $(GamePath)\StardewModdingAPI.Toolkit.CoreInterfaces.dll false true -- cgit From ee132828437c156207ddfc1cbc15339a6852c2fe Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 15 Apr 2019 22:13:10 -0400 Subject: update for new DLL in SDV 1.4 (#638) --- src/SMAPI.ModBuildConfig/build/smapi.targets | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 99011629..e3211466 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -95,6 +95,11 @@ false true + + $(GamePath)\StardewValley.GameData.dll + false + true + $(GamePath)\StardewModdingAPI.exe false @@ -134,6 +139,11 @@ false true + + $(GamePath)\StardewValley.GameData.dll + false + true + $(GamePath)\StardewModdingAPI.exe false -- cgit From aa7e4b9c36bf14656493ee0a7ab2dab394a3cf64 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 18 Apr 2019 22:42:04 -0400 Subject: add new DLL to SMAPI references, support older game versions in package, fix name on Linux/Mac (#638) --- src/SMAPI.ModBuildConfig/build/smapi.targets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index e3211466..f703477f 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -95,7 +95,7 @@ false true - + $(GamePath)\StardewValley.GameData.dll false true @@ -113,7 +113,7 @@ $(GamePath)\xTile.dll false - False + false true @@ -131,7 +131,7 @@ $(GamePath)\MonoGame.Framework.dll false - False + false true @@ -139,8 +139,8 @@ false true - - $(GamePath)\StardewValley.GameData.dll + + $(GamePath)\StardewValley.GameData.MonoGame.dll false true -- cgit From e18ffc009d4fd56b200b0bb13b671940c9fadbc7 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 25 Apr 2019 00:50:26 -0400 Subject: update mods + mod build package for smapi-internal changes --- src/SMAPI.ModBuildConfig/build/smapi.targets | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index f703477f..c8f60c65 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -2,7 +2,7 @@ - + + - - $(DeployModFolderName) - $(DeployModZipTo) - - + $(MSBuildProjectName) $(TargetDir) True -- cgit From d5a7465b0219c3d736b1ac5aff1758ba41887fcc Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 11 Jun 2019 20:23:20 -0400 Subject: add mod build features for new csproj format --- src/SMAPI.ModBuildConfig/build/smapi.targets | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 79a491e7..e9209a45 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -13,6 +13,13 @@ + + x86 + x86 + + + $(AssemblySearchPaths);{GAC} + $(MSBuildProjectName) $(TargetDir) -- cgit From 93551c094139d4446ef5c4fc69bcda26e49e62bd Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 13 Jun 2019 18:19:27 -0400 Subject: add temporary backwards compatibility for SDV 1.3.36 in mod build package --- src/SMAPI.ModBuildConfig/build/smapi.targets | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index e9209a45..103e996a 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -98,7 +98,7 @@ false true - + $(GamePath)\StardewValley.GameData.dll false true @@ -112,6 +112,9 @@ $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll false true + + + $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll $(GamePath)\xTile.dll @@ -142,7 +145,7 @@ false true - + $(GamePath)\StardewValley.GameData.MonoGame.dll false true @@ -156,6 +159,9 @@ $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll false true + + + $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll $(GamePath)\xTile.dll -- cgit From 480b307e6220e5a503f02ed857873ec8a0720e91 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 16 Jun 2019 14:18:30 -0400 Subject: include PDB files in mod builds by default --- src/SMAPI.ModBuildConfig/build/smapi.targets | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 103e996a..f797b0d1 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -17,6 +17,10 @@ x86 x86 + + pdbonly + true + $(AssemblySearchPaths);{GAC} -- cgit From 2cf2b6706f9e31775b1afe05980cfaed96ab1690 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 17 Jun 2019 18:52:03 -0400 Subject: move game detection into toolkit for reuse --- src/SMAPI.ModBuildConfig/build/smapi.targets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index f797b0d1..7d29da0b 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -29,6 +29,7 @@ $(TargetDir) True True + True False @@ -129,7 +130,7 @@ - + Program $(GamePath)\StardewModdingAPI.exe $(GamePath) -- cgit From ffe5bc1d4d6ba797a76856b3c98dd853d8f90086 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 17 Jun 2019 18:52:19 -0400 Subject: remove temporary backwards-compat in mod build package --- src/SMAPI.ModBuildConfig/build/smapi.targets | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 7d29da0b..c24990d5 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -103,7 +103,7 @@ false true - + $(GamePath)\StardewValley.GameData.dll false true @@ -117,9 +117,6 @@ $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll false true - - - $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll $(GamePath)\xTile.dll @@ -150,7 +147,7 @@ false true - + $(GamePath)\StardewValley.GameData.MonoGame.dll false true @@ -164,9 +161,6 @@ $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll false true - - - $(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll $(GamePath)\xTile.dll -- cgit From b3e4162f7cb4d855f7c36def4657209cbd18ba52 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 18 Jun 2019 23:10:11 -0400 Subject: move logic into separate .targets file file for reuse --- src/SMAPI.ModBuildConfig/build/smapi.targets | 49 +++------------------------- 1 file changed, 4 insertions(+), 45 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index c24990d5..10ef73af 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -1,17 +1,12 @@ - + + + - - - - - x86 @@ -33,42 +28,6 @@ False - - - - - - $(HOME)/GOG Games/Stardew Valley/game - $(HOME)/.steam/steam/steamapps/common/Stardew Valley - $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley - - - /Applications/Stardew Valley.app/Contents/MacOS - $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS - - - - - - C:\Program Files\GalaxyClient\Games\Stardew Valley - C:\Program Files\GOG Galaxy\Games\Stardew Valley - C:\Program Files\Steam\steamapps\common\Stardew Valley - - C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley - C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley - C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley - - - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32)) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32)) - - - <_SteamLibraryPath>$([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Valve\Steam', 'SteamPath', null, RegistryView.Registry32)) - $(_SteamLibraryPath)\steamapps\common\Stardew Valley - - - - $(MSBuildProjectName) $(TargetDir) - True - True - True - False + true + true + true + false @@ -86,7 +86,7 @@ - + Program $(GamePath)\StardewModdingAPI.exe $(GamePath) -- cgit From a54db1b33019645f862b0552ad2cd0700074c592 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 19 Jun 2019 13:47:05 -0400 Subject: add optional Harmony reference to mod build package --- src/SMAPI.ModBuildConfig/build/smapi.targets | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 1f512400..0daf40a1 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -24,6 +24,7 @@ $(TargetDir) true true + false true false @@ -32,6 +33,13 @@ + + + $(GamePath)\smapi-internal\0Harmony.dll + false + true + + -- cgit From 62d0b3b32228e0c0e8b999578a147a9dd217fb06 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 19 Jun 2019 14:22:16 -0400 Subject: reduce duplication in mod build package --- src/SMAPI.ModBuildConfig/build/smapi.targets | 175 +++++++++++---------------- 1 file changed, 69 insertions(+), 106 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 0daf40a1..51432d96 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -26,133 +26,96 @@ true false true - false + false + + + + + Program + $(GamePath)\StardewModdingAPI.exe + $(GamePath) + + + $(GamePath)\$(GameExecutableName).exe + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\StardewModdingAPI.exe + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\xTile.dll + $(CopyModReferencesToBuildOutput) + $(GamePath)\smapi-internal\0Harmony.dll - false - true + $(CopyModReferencesToBuildOutput) + + + + + + + $(CopyModReferencesToBuildOutput) + + + $(CopyModReferencesToBuildOutput) + + + $(CopyModReferencesToBuildOutput) + + + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\Netcode.dll + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\StardewValley.GameData.dll + $(CopyModReferencesToBuildOutput) + + + + + + + $(GamePath)\MonoGame.Framework.dll + $(CopyModReferencesToBuildOutput) + + + $(GamePath)\StardewValley.GameData.MonoGame.dll + $(CopyModReferencesToBuildOutput) - - - - - - false - true - - - false - true - - - false - true - - - false - true - - - $(GamePath)\Netcode.dll - False - true - - - $(GamePath)\Stardew Valley.exe - false - true - - - $(GamePath)\StardewValley.GameData.dll - false - true - - - $(GamePath)\StardewModdingAPI.exe - false - true - - - $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll - false - true - - - $(GamePath)\xTile.dll - false - false - true - - - - - - Program - $(GamePath)\StardewModdingAPI.exe - $(GamePath) - - - - - - - $(GamePath)\MonoGame.Framework.dll - false - false - true - - - $(GamePath)\StardewValley.exe - false - true - - - $(GamePath)\StardewValley.GameData.MonoGame.dll - false - true - - - $(GamePath)\StardewModdingAPI.exe - false - true - - - $(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll - false - true - - - $(GamePath)\xTile.dll - false - true - - - - - - - + - + + Date: Sat, 6 Jul 2019 01:04:05 -0400 Subject: group technical docs, add general shortcut for mod build package docs (#651) --- src/SMAPI.ModBuildConfig/build/smapi.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 51432d96..5eeea91e 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -107,7 +107,7 @@ - + -- cgit From c6d4381142ef4e871a7b203c4c940a792bcd1a1e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 8 Jul 2019 20:59:55 -0400 Subject: update for SDV 1.4 build change on Linux/Mac (#638) --- src/SMAPI.ModBuildConfig/build/smapi.targets | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 5eeea91e..78d3a3d4 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -46,6 +46,10 @@ $(GamePath)\$(GameExecutableName).exe $(CopyModReferencesToBuildOutput) + + $(GamePath)\StardewValley.GameData.dll + $(CopyModReferencesToBuildOutput) + $(GamePath)\StardewModdingAPI.exe $(CopyModReferencesToBuildOutput) @@ -82,10 +86,6 @@ $(GamePath)\Netcode.dll $(CopyModReferencesToBuildOutput) - - $(GamePath)\StardewValley.GameData.dll - $(CopyModReferencesToBuildOutput) - @@ -94,10 +94,6 @@ $(GamePath)\MonoGame.Framework.dll $(CopyModReferencesToBuildOutput) - - $(GamePath)\StardewValley.GameData.MonoGame.dll - $(CopyModReferencesToBuildOutput) - -- cgit From 730d9783959cc35945841ab721c930fad8ff9ca0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 23 Nov 2019 22:39:57 -0500 Subject: drop mod build package change which sets the x86 platform Visual Studio changes platform inconsistently when set through a NuGet package, which can cause confusing behavior. It's better to set it directly in the project file instead. --- src/SMAPI.ModBuildConfig/build/smapi.targets | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/build') diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 78d3a3d4..5ca9f032 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -8,10 +8,6 @@ ** Set build options **********************************************--> - - x86 - x86 - pdbonly true -- cgit