Attempting to create a local binary build of 4.22 using Visual Studio 2019 (with no other versions of Visual Studio installed) currently fails with several warnings and errors, including the following:
warning CS1692: Invalid number error CS1525: Invalid expression term '[' error CS1003: Syntax error, ':' expected error CS1002: ; expected
There are also numerous occurrences of the following message:
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see [Link Removed].
SETUP
This requires a computer with only Visual Studio 2019 installed, and no previous versions installed.
REPRO
RESULT:
The build fails with several warnings and errors, including CS1692, CS1525, CS1003, and CS1002 (see attached text file). There are also numerous occurrences of a message that appears to be stating that the appropriate tools version of MSBuild is not available.
EXPECTED:
The build completes successfully.
WORKAROUND:
The build reportedly completes successfully if Visual Studio 2017 is also installed.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-73480 in the post.
1 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.23, 4.22.1 |
Target Fix | 4.22.2 |
Created | Apr 30, 2019 |
---|---|
Resolved | May 2, 2019 |
Updated | Sep 23, 2019 |
5786 - cmp- |