visual studio 2010 - Could not find file or assembly. An attempt was made to load a program with incorrect format -


i have .net windows application n number of projects , class libraries projects. using reference of each other.

at time of running setup, getting issue in middle of installation described below:

could not find file or assembly "my 1 project". version=1.0.0.0, culture=neutral, publickeytoken=80955c93367666f4 or 1 of dependencies. attempt made load program incorrect format

a detailed error of fusion log shown below:-

the operation failed. bind result: hr = 0x80131040. no description available.  assembly manager loaded from:  c:\windows\microsoft.net\framework\v2.0.50727\mscorwks.dll running under executable  c:\program files (x86)\johndoe\foo\foo.installutil.exe --- detailed error log follows.   === pre-bind state information === log: user = fbfdev\anon.user log: displayname = foo.setup, version=1.0.0.0, culture=neutral, publickeytoken=80955c93367666f4  (fully-specified) log: appbase = file:///c:/program files (x86)/johndoe/foo/ log: initial privatepath = null log: dynamic base = null log: cache base = null log: appname = null calling assembly : (unknown). === log: bind starts in default load context. log: using application configuration file: c:\program files (x86)\johndoe\foo\foo.installutil.exe.config log: using machine configuration file c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config. log: gac lookup unsuccessful. log: attempting download of new url file:///c:/program files (x86)/johndoe/foo/foo.setup.dll. log: assembly download successful. attempting setup of file: c:\program files (x86)\johndoe\foo\foo.setup.dll log: entering run-from-source setup phase. log: assembly name is: foo.setup, version=2.0.0.0, culture=neutral, publickeytoken=80955c93367666f4 wrn: comparing assembly name resulted in mismatch: major version err: assembly reference did not match assembly definition found. err: failed complete setup of assembly (hr = 0x80131040). probing terminated. 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -