Fix exception due to directory not existing when creating VSCode project.

#rb none
#jira UE-89684
#rnx

[CL 11661535 by Ben Marsh in 4.25 branch]
This commit is contained in:
Ben Marsh
2020-02-27 11:43:31 -05:00
parent 21a55cd26d
commit 9c17b31329

View File

@@ -600,6 +600,8 @@ namespace UnrealBuildTool
private void WriteCppPropertiesFile(DirectoryReference OutputDirectory, bool RewriteIncludePaths, ProjectData Projects)
{
DirectoryReference.CreateDirectory(OutputDirectory);
JsonFile OutFile = new JsonFile();
OutFile.BeginRootObject();