good afternoon!
I'm trying to create a setup in .NET and it's showing an error when compiling the code.
WARNING: The value of the "PublicKey" attribute in "Microsoft .NET Framework 4.7.2 (x86 and x64)" does not match that in the file "C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages\DotNetFX472\NDP472 -KB4054530-x86-x64-AllOS-ENU.exe".

I tried to install the requested file again and was unsuccessful.
As Hans Passant provided the link. This issue is mentioned in the Visual Studio 2022 version 17.3 release notes.
You only need to update Visual Studio 2022 to a version after 17.3.5