Cannot load assembly while installing a package

Yes I solved it by using a different assembly. In my case the error occured with System.Text.JSON. So I just used Newtonsoft.Json. (Unable to install System.text.json package)