diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-19 20:16:06 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-19 20:16:06 -0400 |
commit | e5d38b73720c58b00ea747b66be18f8b735d2e6e (patch) | |
tree | 4119ee27af76975f8c164d22f455541cb931cf99 /build/smapi.targets | |
parent | 520c46fbe661acac7f6c7854b71d05f58a06cf64 (diff) | |
download | SMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.tar.gz SMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.tar.bz2 SMAPI-e5d38b73720c58b00ea747b66be18f8b735d2e6e.zip |
tweak error text
Diffstat (limited to 'build/smapi.targets')
-rw-r--r-- | build/smapi.targets | 5 |
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 <GamePath> 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 <GamePath> setting with the full directory path containing the Stardew Valley executable." /> </Target> - </Project>
\ No newline at end of file |