"Bad IL format. The format of the file 'C:\Users\username\.nuget\packages\uipath.database.activities\1.7.0\lib/net5.0-windows7.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll' is invalid"

Reinstalling library UiPath.Database.Activities did not download the Microsoft.Data.SqlClient.SNI.dll so now I am having error “Failed to load library (ErrorCode: 126)”. Would you know how to solve it now?
Thanks
Patrik