Hello everyone, I would like to use the ZeroTier.Sockets library for my C # application, but when trying to install ZeroTier.Sockets I get the error “Please make sure that the file is accessible and that it is a valid assembly or COM component”. Where can I find libzt.dll?
Your project should use the newer
PackageReference standard if possible. If that doesn’t fix it, let me know.
P.S. VS’s caching of project settings is broken somehow and you may need to flip this setting multiple times and restart VS for it to take effect.
Thank you, the nuget package has been installed, but the warning “An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) C:\Users\Admin\.nuget\packages\zerotier.sockets\1.4.3\lib\net461\libzt.dll” is a little alarming
That’s because you’re loading a package marked as
x64 in a
x86 32-bit project. You need to set that to the correct value.
Thank you, it works)