tags:

views:

159

answers:

0

I have a project that references a particular DLL (dllA) at a particular location.

This DLL (dllA) is updated automatically (i.e. there is a version number update on every build)

Now in case I try using the project built DLL (dllB) in another application (Parse the DLL in), which already has a reference to dllA - it will throw me a FileLoadException

".. Version=1.0.3405.16609, Culture=neutral, PublicKeyToken=aa0fd8395044840e. .." (version number conflict)

if dllA has been updated (rebuilt leading to version number being updated) after dllB was built.

How do I make sure that dllB is able to keep up to dllA's version number. Hence dllB can be built, left in a corner and used again and again, while dllA keeps on getting built.

(I understand there will be other exception in case dllA has something updated that will break the code in dllB totally... but right now it's not)