Could not load file or assembly Error Plz Help
-
HI Previously my project was having the Version=0.30.0.0 of the dll IKVM.GNU.Classpath now i am trying to include or refer Version=0.34.0.3, of the same dll and its throwing me this error and i a m just not able to run the project. The dll is in the bin\debug folder of the project from where i was referring it earlier and now also. Plz Help! I am getting this error. Could not load file or assembly 'IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Regards
-
HI Previously my project was having the Version=0.30.0.0 of the dll IKVM.GNU.Classpath now i am trying to include or refer Version=0.34.0.3, of the same dll and its throwing me this error and i a m just not able to run the project. The dll is in the bin\debug folder of the project from where i was referring it earlier and now also. Plz Help! I am getting this error. Could not load file or assembly 'IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Regards
Basically, it looks like you tried to replace the .DLL file with a new version, then just ran your project. That doesn't work. You have to remove the references from your project to that .DLL, then add a new reference to the new version of the .DLL.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Basically, it looks like you tried to replace the .DLL file with a new version, then just ran your project. That doesn't work. You have to remove the references from your project to that .DLL, then add a new reference to the new version of the .DLL.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Thanks Dave! No, i am doing that only.. removing the reference from the project and then, adding new reference of the dll with different version.(I am not replacing the dll file only, I am also changing the reference also) just could not what is the problem...
Regards
-
Thanks Dave! No, i am doing that only.. removing the reference from the project and then, adding new reference of the dll with different version.(I am not replacing the dll file only, I am also changing the reference also) just could not what is the problem...
Regards
Well, the error message says your reference is still pointing to the previous version.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Well, the error message says your reference is still pointing to the previous version.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007