jsakamoto / ipaddressrange

.NET Class Library for range of IP address, both IPv4 and IPv6.
Mozilla Public License 2.0
370 stars 71 forks source link

Could not load file or assembly #81

Open sawsam opened 1 year ago

sawsam commented 1 year ago

System.IO.FileNotFoundException: Could not load file or assembly 'IPAddressRange, Version=6.0.0.0, Culture=neutral, PublicKeyToken=578e3c3d17e7c751'.

My project uses asp netcore mvc I install the package via nuget,how can i solve this problem

environment net6.0 windows server 2016 standard

jsakamoto commented 1 year ago

@sawsam

Is the "IPAddressRange.dll" in a deploy target folder, as well as your MVC app's DLL files, on that Windows Server 2016 Standard machine?

And is the "IPAddressRange.dll" file not broken? (The file size of "IPAddressRange.dll" should be 22.5 KB, and it should be able to show its file property from Windows Explorer.)

image