summaryrefslogtreecommitdiff
path: root/build/smapi.targets
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-10-19 20:16:06 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-10-19 20:16:06 -0400
commite5d38b73720c58b00ea747b66be18f8b735d2e6e (patch)
tree4119ee27af76975f8c164d22f455541cb931cf99 /build/smapi.targets
parent520c46fbe661acac7f6c7854b71d05f58a06cf64 (diff)
downloadSMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.tar.gz
SMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.tar.bz2
SMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.zip
tweak error text
Diffstat (limited to 'build/smapi.targets')
-rw-r--r--build/smapi.targets5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/smapi.targets b/build/smapi.targets
index 6231650c..f38f1585 100644
--- a/build/smapi.targets
+++ b/build/smapi.targets
@@ -53,9 +53,8 @@
</Otherwise>
</Choose>
- <!-- Validate game path & automate mod package -->
+ <!-- if game path is invalid, show one user-friendly error instead of a slew of reference errors -->
<Target Name="BeforeBuild">
- <Error Text="Failed to find the game install path automatically; edit the *.csproj file and manually set the &lt;GamePath&gt; setting to the directory containing the Stardew Valley executable." Condition="!Exists('$(GamePath)')" />
+ <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." />
</Target>
-
</Project> \ No newline at end of file