Publish .net 5 web assembly site to IIS fails

event 1 - Unable to locate application dependencies. Ensure that the versions of Microsoft.NetCore.App and Microsoft.AspNetCore.App targeted by the application are installed.
event 2 - Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
event 3 - Failed to start application '/LM/W3SVC/4/ROOT', ErrorCode '0x8000ffff'.

these are events when i try to run site from iis, keep in mind i can run the site from radzen without issue.

why don't you create a new .net 5 blazor web assembly app, create a blank page and publish it to iis, you will see same error?