Attempting to run GenerateProjectFiles.bat on a computer that only has Visual Studio 2019 installed (no other versions of Visual Studio were ever installed previously) will fail to compile UnrealBuildTool. Numerous instances of several warnings and errors are shown.
warning CS1692: Invalid number
warning CS1591: Missing XML comment for publicly visible type or member
error CS0136: A local variable named 'RemoteMac' cannot be declared in this scope because it would give a different meaning to 'RemoteMac', which is already used in a 'parent or current' scope to denote something else
error CS0103: The name 'nameof' does not exist in the current context
SETUP:
This repro requires a Windows computer that only has VS2019 installed, and has never had any previous version of VS installed.
REPRO:
RESULT:
The GenerateProjectFiles process will fail to compile UnrealBuildTool. A large number of warnings and errors will be displayed, including multiple instances of the following (see attached text file): Warning CS1692, Warning CS1591, Error CS0136, Error CS0103
EXPECTED:
The GenerateProjectFiles process completes successfully.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-72173 in the post.
4 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.22 |
Target Fix | 4.22 |
Created | Apr 1, 2019 |
---|---|
Resolved | Apr 1, 2019 |
Updated | Apr 5, 2019 |