diff --git a/Content.Packaging/Program.cs b/Content.Packaging/Program.cs index 65c0e0131a..9457e9dacc 100644 --- a/Content.Packaging/Program.cs +++ b/Content.Packaging/Program.cs @@ -11,6 +11,11 @@ if (!CommandLineArgs.TryParse(args, out var parsed)) if (parsed.WipeRelease) WipeRelease(); +else +{ + // Ensure the release directory exists. Otherwise, the packaging will fail. + Directory.CreateDirectory("release"); +} if (!parsed.SkipBuild) WipeBin();