From a5d654b5923942e7319bf5d5bc5fe219335663d3 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Fri, 18 Oct 2019 12:47:34 -0300 Subject: [PATCH] Redownload dependencies after cleaning build (#10079) If the dependencies `SHA` did not change, doing `msbuild openrct2.proj /t:clean` and then trying to build again would pop-up an RCT with missing objects, title and replays --- openrct2.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrct2.targets b/openrct2.targets index a93c2c362e..9a82f91fc6 100644 --- a/openrct2.targets +++ b/openrct2.targets @@ -153,7 +153,7 @@ if (!String.IsNullOrEmpty(CheckFile)) { string checkSha1 = GetSha1FromCheckFile(CheckFile, Name); - if (String.Equals(checkSha1, Sha1, StringComparison.OrdinalIgnoreCase)) + if (String.Equals(checkSha1, Sha1, StringComparison.OrdinalIgnoreCase) && Directory.Exists(OutputDirectory)) { Log.LogMessage(MessageImportance.Normal, String.Format("{0} up to date", Name)); return true;