City Sample project on UE5.5.4 has issues restricting the build options.

On UE5.5.4, working with the city sample project (City Sample | Fab), while trying to load the platforms to package the project, I get the following ERROR:

LogTurnkeySupport: Warning: Turnkey failed to run properly, full Turnkey output:
Running AutomationTool...
Using bundled DotNet SDK version: 8.0.300
Starting AutomationTool...
Parsing command line: -ScriptsForProject=C:/CitySample/CitySample.uproject Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename=C:/CitySample/Intermediate/TurnkeyReport_1.log -log=C:/CitySample/Intermediate/TurnkeyLog_1.log -project=C:/CitySample/CitySample.uproject -Device=Win64@HELL
Initializing script modules...
Building 1 projects (see Log 'Engine/Programs/AutomationTool/Saved/Logs/Log.txt' for more details)
 Restore...
 Build...
C:\CitySample\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestConfig.cs' could not be found. (C:\CitySample\Build\Scripts\CitySample.Automation.csproj)
C:\CitySample\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs' could not be found. (C:\CitySample\Build\Scripts\CitySample.Automation.csproj)
  Failed to build: C:\CitySample\Build\Scripts\CitySample.Automation.csproj
Build projects time: 5.18 s
AutomationTool executed for 0h 0m 9s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED

How can I enable the Windows Package option, which currently says that the required SDK has not been installed ?

win 10 sdk 10.0.19041.0

Hello there!

From your log, the main conflict seems to be missing .cs files:

error CS2001: Source file 'AutomatedPerfTestConfig.cs' could not be found
error CS2001: Source file 'AutomatedPerfTestNode.cs' could not be found

These type of files are tied to the Automation tool, which means, if they are not found, they are either missing, or installed with an incorrect version. And on top of that, you have the missing SDK conflict.

As suggested by the previous answer, the minimum SDK version you should have installed for 5.5 is 10.0.19041.0. But you also need to make sure that all the other elemends tied to the setup between VS and UE are present, and using their correct version.

Please review the status of your install using the following document.