Try these:
1) first, delete the dlls and the folder of the Dlls, also make sure that you have not installed any related nuget packages and referenced any related projects.
2) close VS ,delete .vs
hidden folder, bin
and obj
folder.
3) restart VS and your project, then readd the dlls and try again.
If the issue still persists, please try to create a new project to test it or share a small sample with us to troubleshoot the issue.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…