c# - Nuget package versioning — DLL not found -
i have problem nuget package microsoft.azure.activedirectory.graphclient.
from nuget package manager, have added version 2.1.0 of said nuget package project, seems dll cannot found:
filenotfoundexception: not load file or assembly "microsoft.azure.activedirectory.graphclient, version=2.1.1.0, culture=neutral, publickeytoken=31bf3856ad364e35" or 1 of dependencies. system cannot find file specified.
i have checked dll exist, , found "file version 1.0.9342.13", "product version 1.0.9342.13".
so tried add file assemblybinding
in web.config (although i'd expect vs me):
<dependentassembly> <assemblyidentity name="microsoft.azure.activedirectory.graphclient" publickeytoken="31bf3856ad364e35"/> <bindingredirect oldversion="1.0.0.0-2.1.1.0" newversion="1.0.9342.13"/> </dependentassembly>
but didn't work.
why there discrepancy in versions , have program finds dll , dependent assemblies?
Comments
Post a Comment