summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-06-19 00:06:40 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:16:00 -0400
commit3f28abe2c2f0f7119e168b55a63e6384c4ca92df (patch)
tree605cb19f38d2b1a693bae3d4f194b5017adb2a55 /build
parent904c39eb7286df6ad3098dfdcfbf09cb282141e4 (diff)
downloadSMAPI-3f28abe2c2f0f7119e168b55a63e6384c4ca92df.tar.gz
SMAPI-3f28abe2c2f0f7119e168b55a63e6384c4ca92df.tar.bz2
SMAPI-3f28abe2c2f0f7119e168b55a63e6384c4ca92df.zip
update game-not-found error messages
Diffstat (limited to 'build')
-rw-r--r--build/common.targets6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/common.targets b/build/common.targets
index abcf2d87..804f1ed3 100644
--- a/build/common.targets
+++ b/build/common.targets
@@ -1,7 +1,8 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
<Import Project="find-game-folder.targets" />
- <!--compile constants -->
+ <!--set properties -->
<PropertyGroup>
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>
<DefineConstants Condition="$(OS) == 'Windows_NT'">$(DefineConstants);SMAPI_FOR_WINDOWS</DefineConstants>
@@ -9,7 +10,7 @@
<!-- if game path is invalid, show one user-friendly error instead of a slew of reference errors -->
<Target Name="ValidateInstallPath" AfterTargets="BeforeBuild">
- <Error Condition="!Exists('$(GamePath)')" Text="Failed to find the game install path automatically; edit the *.csproj file and manually add a &lt;GamePath&gt; setting with the full directory path containing the Stardew Valley executable." />
+ <Error Condition="!Exists('$(GamePath)')" Text="Failed to find the game install path automatically. You can specify where to find it; see https://smapi.io/buildmsg/custom-game-path." />
</Target>
<!-- copy files into game directory and enable debugging -->
@@ -57,4 +58,5 @@
<!-- Somehow this makes Visual Studio for Mac recognise the previous section. Nobody knows why. -->
<PropertyGroup Condition="'$(RunConfiguration)' == 'Default'" />
+
</Project>