I was able to simulate the problem you are experiencing by deleting the FrameworkList.xml file in the following path:
C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETCore \ v5.0 \ RedistList
After I deleted the FrameworkList.xml file, I have the same error message that you get.
check if you have this file in the above path.
also here is the contents of the file (if you want to create it manually)
<?xml version="1.0" encoding="utf-8"?> <FileList Redist="Microsoft-Windows-CLRCoreComp.5.0" Name=".NET for Windows Universal" RuntimeVersion="5.0" ToolsVersion="4.0"> </FileList>
another option, if you do not want to create it manually, install windows 10 sdk
source share