Sounds like dotnet may be broken. A couple of things to try are a recent dotnet repair tool or also and in-place upgrade (repair) by running setup.exe from the root of the installation media. Also check the known issues here as you may want to hold off on kb5009557
https://support.microsoft.com/en-au/topic/january-11-2022-kb5009557-os-build-17763-2452-c3ee4073-1e7f-488b-86c9-d050672437ae
--please don't forget to upvote
and Accept as answer
if the reply is helpful--