asp.net - castle.core.dll The located assembly's manifest definition does not match the assembly reference -




i've 'inherited' old website solution includes several projects. i've been unable build solution - in fact built once hasn't since , don't recall changing no idea why built 1 time.. anyway..

when attempting build, throwing error:

could not load file or assembly 'castle.core, version=1.3.0.0, culture=neutral, publickeytoken=407dd0808d44fbdc' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040) 

in web.config can see reference:

<dependentassembly>         <assemblyidentity name="castle.core" publickeytoken="407dd0808d44fbdc" />         <bindingredirect oldversion="0.0.0.0-1.2.0.0" newversion="1.2.0.0" />  </dependentassembly> 

through searching problem i've tried few things without luck. similar questions recommended trying fusionlog gave me following:

the operation failed. bind result: hr = 0x80131040. no description available. assembly manager loaded from:  c:\windows\microsoft.net\framework\v4.0.30319\clr.dll running under executable  c:\program files (x86)\iis express\iisexpress.exe --- detailed error log follows.  === pre-bind state information === log: displayname = castle.core, version=1.3.0.0, culture=neutral, publickeytoken=407dd0808d44fbdc  (fully-specified) log: appbase = file:///d:/pims/pims.website/ log: initial privatepath = d:\pims\pims.website\bin log: dynamic base = c:\users\me\appdata\local\temp\temporary asp.net files\vs\bd3abe26 log: cache base = c:\users\me\appdata\local\temp\temporary asp.net files\vs\bd3abe26 log: appname = e20eeb88 calling assembly : castle.dynamicproxy2, version=2.2.0.0, culture=neutral, publickeytoken=407dd0808d44fbdc. == = log: bind starts in default load context. log: using application configuration file: d:\pims\pims.website\web.config log: using host configuration file: c:\users\me\documents\iisexpress\config\aspnet.config log: using machine configuration file c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config. log: post-policy reference: castle.core, version=1.3.0.0, culture=neutral, publickeytoken=407dd0808d44fbdc log: gac lookup unsuccessful. log: attempting download of new url file:///c:/users/me/appdata/local/temp/temporary asp.net files/vs/bd3abe26/e20eeb88/castle.core.dll. log: attempting download of new url file:///c:/users/me/appdata/local/temp/temporary asp.net files/vs/bd3abe26/e20eeb88/castle.core/castle.core.dll. log: attempting download of new url file:///d:/pims/pims.website/bin/castle.core.dll. log: assembly download successful. attempting setup of file: d:\pims\pims.website\bin\castle.core.dll log: entering download cache setup phase. log: assembly name is: castle.core, version=1.2.0.0, culture=neutral, publickeytoken=407dd0808d44fbdc wrn: comparing assembly name resulted in mismatch: minor version err: assembly reference did not match assembly definition found. err: setup failed hr = 0x80131040. err: failed complete setup of assembly (hr = 0x80131040). probing terminated. 

so gather (correct me if i'm wrong, looks gobbledygook me) it's looking v1.3.0.0 finding v1.2.0.0?

why looking v1.3.0.0 when web.config says v1.2.0.0?

i've searched solution references castle.core cannot find else mentioning it.

i've checked files fusionlog said using (aspnet.config, web.config, machine.config) - 1 reference castle.core web.config.

i've tried deleting contents of bin , rebuilding, throws new errors unable find of other .dlls requires.

i've tried grabbing castle.core.dll server live site hosted on, same v1.2.0.0

how can correct error looks correct version?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -