mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 01:22:25 +01:00
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
This commit is contained in:
committed by
Michael Steenbeek
parent
2159fd282b
commit
a5d654b592
@@ -153,7 +153,7 @@
|
|||||||
if (!String.IsNullOrEmpty(CheckFile))
|
if (!String.IsNullOrEmpty(CheckFile))
|
||||||
{
|
{
|
||||||
string checkSha1 = GetSha1FromCheckFile(CheckFile, Name);
|
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));
|
Log.LogMessage(MessageImportance.Normal, String.Format("{0} up to date", Name));
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user