The dll in unity is required to build the hot update project in Rider, if the selected .Net version is incorrect, an error will be reported
Right-click HptFix_Project (the one above is solution, the one below is project, click the second one here), properties, you can check your own version
here is 4.6
In the red place, select to view Assemblies. The referenced Framework version is 4.7.1
. Delete the wrong dll reference under Solution, right-click -> delete,
right-click Assemblies or Dependencies, Add Reference..., select the dll under ScriptAssmblies, tick, Add and
rebuild
success