Problem Solved.
When reading an old ticket, I noticed that each version of Microsoft.SDK.Contracts is intended for a specific version of the Windows SDK.
And in fact, I did a lot of maneuvers to try to solve this problem, but what brought the solution was:
Update to the latest version of Windows 11 OS, previously I was using Windows 10 OS;
Use the latest version of Windows 11 SDK at this time, .26100.0;
Use the version of Microsoft.SDK.Contracts equivalent to this version, namely: .26100.1742;