diff options
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 |