AutomationUtils.Automation.csproj migration to 5.6

quakesy
Tue, 26 Aug 2025 18:00:21 +0000
Programming & Scripting

Migrating my project from 5.1 to 5.6, it does’nt work out of the box.

My project has some C++ support and after converting the project to 5.6 and opening it, it tells me that I need to rebuild the sources in Visual Studio.

I said okay, yeah, let me do it, but i get a weird error related to AutomationUtils:

I have no idea how to deal with this or even debug this. i odnt even know how the AutomationTool works (or what that beast even does)

Warning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known moderate severity vulnerability, Warning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known high severity vulnerability, Warning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known high severity vulnerability, Metadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundWarning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known moderate severity vulnerability, Warning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known high severity vulnerability, Warning As Error: Package ‘Magick.NET-Q16-HDRI-AnyCPU’ 14.7.0 has a known high severity vulnerability, Metadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll’ could not be foundMetadata file ‘C:\Program Files\Epic Games\UE_5.6\Engine\Platforms\VisionOS\Binaries\DotNET\AutomationTool\AutomationScripts\ref\VisionOS.Automation.dll’ could not be found

And Here is the full build output:

Build started at 00:07...
1>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: AutomationUtils.Automation, Configuration: Development Any CPU ------
3>------ Build started: Project: Base, Configuration: Development_Editor x64 ------
Failed to restore C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj (in 191 ms).
Failed to restore C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj (in 192 ms).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
2>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-6hgw-6x87-578x
2>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cjc8-g9w8-chfw
2>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-qp29-wxp5-wh82
2>Done building project "AutomationUtils.Automation.csproj" -- FAILED.
4>------ Build started: Project: SteamDeck.Automation, Configuration: Development Any CPU ------
5>------ Build started: Project: Localization.Automation, Configuration: Development Any CPU ------
6>------ Build started: Project: BuildGraph.Automation, Configuration: Development Any CPU ------
7>------ Build started: Project: Apple.Automation, Configuration: Development Any CPU ------
3>Using bundled DotNet SDK version: 8.0.300 win-x64
3>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" BaseEditor Win64 Development -Project="C:\Users\tanwe\Documents\Unreal Projects\Base 5.6\Base.uproject" -WaitMutex -FromMsBuild -architecture=x64
3>Log file: C:\Users\tanwe\AppData\Local\UnrealBuildTool\Log.txt
3>Using 'git status' to determine working set for adaptive non-unity build (C:\Users\tanwe\Documents\Unreal Projects\Base 5.6).
3>Creating makefile for BaseEditor (no existing makefile)
6>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
5>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
7>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
4>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
4>Done building project "SteamDeck.Automation.csproj" -- FAILED.
8>------ Build started: Project: Linux.Automation, Configuration: Development Any CPU ------
5>Done building project "Localization.Automation.csproj" -- FAILED.
7>Done building project "Apple.Automation.csproj" -- FAILED.
9>------ Build started: Project: XLocLocalization.Automation, Configuration: Development Any CPU ------
10>------ Build started: Project: SmartlingLocalization.Automation, Configuration: Development Any CPU ------
11>------ Build started: Project: Mac.Automation, Configuration: Development Any CPU ------
6>Done building project "BuildGraph.Automation.csproj" -- FAILED.
12>------ Build started: Project: Win.Automation, Configuration: Development Any CPU ------
9>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
9>Done building project "XLocLocalization.Automation.csproj" -- FAILED.
10>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
10>Done building project "SmartlingLocalization.Automation.csproj" -- FAILED.
11>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
11>Done building project "Mac.Automation.csproj" -- FAILED.
13>------ Build started: Project: IOS.Automation, Configuration: Development Any CPU ------
14>------ Build started: Project: AutomationScripts.Automation, Configuration: Development Any CPU ------
8>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
8>Done building project "Linux.Automation.csproj" -- FAILED.
15>------ Build started: Project: OneSkyLocalization.Automation, Configuration: Development Any CPU ------
15>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
15>Done building project "OneSkyLocalization.Automation.csproj" -- FAILED.
16>------ Build started: Project: CrowdinLocalization.Automation, Configuration: Development Any CPU ------
13>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
13>Done building project "IOS.Automation.csproj" -- FAILED.
14>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
14>Done building project "AutomationScripts.Automation.csproj" -- FAILED.
17>------ Build started: Project: TVOS.Automation, Configuration: Development Any CPU ------
16>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
16>Done building project "CrowdinLocalization.Automation.csproj" -- FAILED.
18>------ Build started: Project: VisionOS.Automation, Configuration: Development Any CPU ------
19>------ Build started: Project: Android.Automation, Configuration: Development Any CPU ------
12>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
12>Done building project "Win.Automation.csproj" -- FAILED.
17>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
17>Done building project "TVOS.Automation.csproj" -- FAILED.
20>------ Build started: Project: CookedEditor.Automation, Configuration: Development Any CPU ------
19>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
19>Done building project "Android.Automation.csproj" -- FAILED.
18>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
18>Done building project "VisionOS.Automation.csproj" -- FAILED.
21>------ Build started: Project: Gauntlet.Automation, Configuration: Development Any CPU ------
20>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
20>Done building project "CookedEditor.Automation.csproj" -- FAILED.
21>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-6hgw-6x87-578x
21>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cjc8-g9w8-chfw
21>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-qp29-wxp5-wh82
21>Done building project "Gauntlet.Automation.csproj" -- FAILED.
22>------ Build started: Project: LiveLinkHub.Automation, Configuration: Development Any CPU ------
22>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
22>Done building project "LiveLinkHub.Automation.csproj" -- FAILED.
23>------ Build started: Project: Turnkey.Automation, Configuration: Development Any CPU ------
24>------ Build started: Project: Mutable.Automation, Configuration: Development Any CPU ------
25>------ Build started: Project: LowLevelTests.Automation, Configuration: Development Any CPU ------
26>------ Build started: Project: Insights.Automation, Configuration: Development Any CPU ------
25>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
25>Done building project "LowLevelTests.Automation.csproj" -- FAILED.
26>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
26>Done building project "Insights.Automation.csproj" -- FAILED.
23>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
23>Done building project "Turnkey.Automation.csproj" -- FAILED.
27>------ Build started: Project: AutomationTool, Configuration: Development Any CPU ------
3>EXEC : warning : [Upgrade]
3>EXEC : warning : [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
3>EXEC : warning : [Upgrade]     bLegacyParentIncludePaths = false               => Omits module parent folders from include paths to reduce compiler command line length. (Previously: true).
3>EXEC : warning : [Upgrade]     CppStandard = CppStandardVersion.Default        => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
3>EXEC : warning : [Upgrade]     WindowsPlatform.bStrictConformanceMode = true   => Updates MSVC strict conformance mode to true (Previously: false).
3>EXEC : warning : [Upgrade]     bValidateFormatStrings = true                   => Enables compile-time validation of strings+args passed to UE_LOG. (Previously: false).
3>EXEC : warning : [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V5;' in BaseEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
3>EXEC : warning : [Upgrade]
3>EXEC : warning : [Upgrade]
3>EXEC : warning : [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
3>EXEC : warning : [Upgrade]     IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1
3>EXEC : warning : [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_6;' in BaseEditor.Target.cs.
3>EXEC : warning : [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
3>EXEC : warning : [Upgrade]
3>EXEC : warning : [Upgrade]
3>EXEC : warning : [Upgrade] The latest version of UE no longer supports CppStandardVersion.Cpp17 which may require code changes.
3>EXEC : warning : [Upgrade] Suppress this message by setting 'CppStandard = CppStandardVersion.Cpp20;' in BaseEditor.Target.cs.
3>EXEC : warning : [Upgrade]
27>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationTool.csproj : warning NU1902: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-6hgw-6x87-578x
27>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationTool.csproj : warning NU1903: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cjc8-g9w8-chfw
27>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationTool.csproj : warning NU1903: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-qp29-wxp5-wh82
27>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\bin\Development\ref\AutomationUtils.Automation.dll' could not be found
27>CSC : error CS0006: Metadata file 'C:\Program Files\Epic Games\UE_5.6\Engine\Platforms\VisionOS\Binaries\DotNET\AutomationTool\AutomationScripts\ref\VisionOS.Automation.dll' could not be found
27>Done building project "AutomationTool.csproj" -- FAILED.
3>BaseEditor modifies the values of properties: [ bStrictConformanceMode: False != True ]. This is not allowed, as BaseEditor has build products in common with UnrealEditor.
3>Remove the modified setting, change BaseEditor to use a unique build environment by setting 'BuildEnvironment = TargetBuildEnvironment.Unique;' in the BaseEditorTarget constructor, or set bOverrideBuildEnvironment = true to force this setting on.
3>
3>Result: Failed (OtherCompilationError)
3>Total execution time: 18.39 seconds
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_5.6\Engine\Build\BatchFiles\Build.bat" BaseEditor Win64 Development -Project="C:\Users\tanwe\Documents\Unreal Projects\Base 5.6\Base.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.
3>Done building project "Base.vcxproj" -- FAILED.
========== Build: 0 succeeded, 26 failed, 26 up-to-date, 1 skipped ==========
========== Build completed at 00:08 and took 19,960 seconds ==========

8 posts - 4 participants