Fix exception in build tool when running in workspace without project file

This commit is contained in:
Wojtek Figat
2023-01-25 19:54:45 +01:00
parent 0847ccc360
commit 6b6f1eeb9b

View File

@@ -83,6 +83,7 @@ namespace Flax.Build
}
// Skip when project references were changed
if (Globals.Project != null)
{
DateTime lastWriteTime = File.GetLastWriteTime(Globals.Project.ProjectPath);
if (lastWriteTime > recentWriteTime)