Hi Amjad Khan,
We have validated your reported problem, but it is not reproduced in our validation sample. We suspect that this issue occurs due to .NET version.
The error says that your machine has .NET 5.0 version and the packages are available in .NET 5.0.0-rc.2.20475.17 version.
To resolve this issue, you can either update your dependent packages version or the .NET version of your machine.
Please follow the below steps to run the sample,
1. Delete the bin and obj folders from your sample.
2. Clear browser cache and clean your solution.
3. After compilation, Run the project by pressing F5.
If your reported problem still persists, then please let us know your convenient time for scheduling a web meeting session. We will check the cause of your reported problem and help you solve it in the live meeting session.
Please let us know, if you need any further assistance.
Regards,
Indhumathy L