Does any version of Unreal source compile with windows 11 and visual studio 2022 17.12.2

I spend already 10 days just trying to compile any version of Unreal.
It was a total failure. I tried github latest 5.5 and 5.4.4
but I keep getting the fatal errors bellow. which does not happens on windows 10.

d 16>------ Build started: Project: EpicGames.Core.Tests, Configuration: Debug Any CPU ------
4>EpicGames.Tracing → C:\UnrealEngine-
5.4.4\Engine\Source\Programs\Shared\EpicGames.Tracing\bin\Debug\net6.0\EpicGames.Tracing.dll
12>C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.Perforce\EpicGames.Perforce.csproj : warning NU1903: Package ‘System.Text.Json’ 6.0.0 has a known high severity vulnerability, Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability · CVE-2024-43485 · GitHub Advisory Database · GitHub
12>EpicGames.Perforce → C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.Perforce\bin\Debug\net6.0\EpicGames.Perforce.dll
12>Done building project “EpicGames.Perforce.csproj”.
17>------ Build started: Project: EpicGames.Tracing.Tests, Configuration: Debug Any CPU ------
15>C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.IoHash\EpicGames.IoHash.csproj : warning NU1903: Package ‘System.Text.Json’ 6.0.0 has a known high severity vulnerability, Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability · CVE-2024-43485 · GitHub Advisory Database · GitHub
15>EpicGames.IoHash → C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.IoHash\bin\Debug\net6.0\EpicGames.IoHash.dll
15>Done building project “EpicGames.IoHash.csproj”.
14>C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.Jupiter\EpicGames.Jupiter.csproj : warning NU1903: Package ‘System.Text.Json’ 6.0.0 has a known high severity vulnerability, Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability · CVE-2024-43485 · GitHub Advisory Database · GitHub
14>EpicGames.Jupiter → C:\UnrealEngine-5.4.4\Engine\Source\Programs\Shared\EpicGames.Jupiter\bin\Debug\net6.0\EpicGames.Jupiter.dll

I browse the forums and I see many people having similar problems but it is not clear if anybody had an answer.
searching in google only get the moronic AI making answers out of the thin air.
inventing procedures with step that do not exist anywhere.
I am at a complete lost as to how to fix this.
I even uninstalled and reinstall visual studio from scratch, all all I got is tow hours ride,
and and the end got the same problem.

Never in a million years, I would even though that building unreal from source was going to so harder. It is quite ridiculous.

ofc, i usually run the engine built from source myself, i successfully built engine-5.5 on win11 and macOS 15.1.1 and also for ios-17.7 and android-34

but this is a real problem. It is not windows or visual studio. they already did their part.
it is unreal build system that has not been fixed and there is not documentation of how to do it

The link explains how to fix the vulnerability.
Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability · CVE-2024-43485 · GitHub Advisory Database · GitHub

  • To fix the issue please install the latest version of .NET 8.0 or .NET 6.0. If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
  • .NET Framework-based applications and other application types need to perform a package update.

I did part one and the version of the Json package is this

Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

the versions with the problem are 6.0.1 and 6.0.2

but part tow has to be done by the unreal build system.
and for the light of me I have not found any way to do that.
at least not even find a way to ignore the warning.

basically the entire source code base is useless as long as it keeps using
version 6.0.1 of the json package.

I have check to see how I can make the change locally,
at least so that I can continue working.
it seems to be this file
C:\UnrealEngine-5.4.4\Engine\Binaries\DotNET\GitDependencies\osx-arm64\GitDependencies.deps.json

but it is not clear how to edit and it doesn’t seem to be any explanation anywhere.
an changing it show not effect.
I guess it is because it is for osx and arm systems,
but I have not found the equivalent for windows

Again it is quite shameful that the people at Epic keep reading these issues
and simply ignore them them as if they do not exist.

I mean, I could be all wrong, but at least some one with credential would stop
people from these futile research that 9 time out of ten lead to dead ends.
And that one in ten that you get lucky, has not benefit at all, since it just get you
to the next step of the build system.
Meantime you waste ton of time and resources.

Please Epic, try to answers these question.
It is obvious you have it working because projects generated by the Installer do not have this issues, so the compiled version most be using the correct json package.

on top of all off that, you can’t even clone unreal without getting errors like this after hours of wait.

(Cloning into ‘UnrealEngine’…
remote: Enumerating objects: 111593, done.
remote: Counting objects: 100% (111593/111593), done.
remote: Compressing objects: 100% (92142/92142), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: CANCEL (err 8)
error: 4718 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output)

I know this is free, but this is by fart,
but I have to say this is the absolute worse system I have ever seem.
and I have been on this business for almost 30 years.

I am following the instructions as unreal suggest but it can’t even get to start.

It is almost as the open source is just a facade that is not expected to be taking seriously by anyone who was not a paying client.

well, I decide to just cut the entire history and get the lates revision one more time.
I issue this git command,

git clone https://github.com/EpicGames/UnrealEngine.git --depth=1 --single-branch c:/unrealEngine_5.5.0

and hut the master head revision. running setup and GenerateProjectFiles.bat

the log says this.

Setting up Unreal Engine project files...
Using bundled DotNet SDK version: 8.0.300
Building UnrealBuildTool...

at least that’s a change, the download zip one says

Using bundled DotNet SDK version: 6.0.100

I am hopping this is the end of the ordeal.
I just lost the entire history of my branch that I kept for 11 years.

It worded.
This can be closed.