The RPCUtility binaries cannot be built in 4.22 due to an issue with DotNETUtilities. When attempting to build the RPCUtility binaries as part of the BuildCommonTools command, the build provides a warning that states the framework that the DotNETUtilities.dll was built against is version 4.6.2 of the .NETFramework, but the targeted version is 4.5. The warning is then followed by an error stating that the DotNETUtilities namespace could not be found, and the build fails (see attached log).
REGRESSION:
Yes. The build completed successfully in 4.21.2.
RESULT:
The build fails with the following error: error CS0246: The type or namespace name 'DotNETUtilities' could not be found (are you missing a using directive or an assembly reference?) [D:\Main-Builds\Stream\Engine\Source\Programs\RPCUtility\RPCUtility.csproj]
There is also a warning that the reference to the DotNETUtilities.dll file could not be resolved because "it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5"."
EXPECTED:
The build completes successfully and the RPCUtility files that had been deleted are recreated.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-70509 in the post.
2 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.22, 4.23 |
Target Fix | 4.22 |
Created | Feb 22, 2019 |
---|---|
Resolved | Feb 25, 2019 |
Updated | Mar 23, 2019 |