[Bug]Generating project files breaks build

Sorry to necro but;

For those who experiencing error with undefined “CultureInfo”:

Change …ToUpper(new CultureInfo(“en-US”, false));

to

…ToUpper(new System.Globalization.CultureInfo(“en-US”, false));

At the end,line should look like this:

string PCHGuardDefine = Path.GetFileNameWithoutExtension(PrecompiledHeaderIncludeFilename.AbsolutePath).ToUpper(new System.Globalization.CultureInfo(“en-US”, false));