[Mono-dev] Compatible dll's

Mirco Bauer meebey at meebey.net
Thu Oct 12 03:42:39 EDT 2006


On Wed, 2006-10-11 at 16:57 +0200, Joachim Ante wrote:
> Hi,
> 
> Is there any way to verify if two dll's are compatible?
> 
> We use mcs to compile a set of cs files, which also reference some dll. Now
> this dll has been changed. Most of the time only internals inside some
> functions in that dll will be changed. So i would like to find out if the
> two dll's are still compatible, somehow comparing their signatures. Then i
> will only recompile the cs files if it is really necessary.

This is called ABI compatibility, which is for CLI in most cases also
the API compatibility.
For Debian packaging we wrote a wrapper around the mono tools
(mono-api-info.exe) that does exactly this :) telling us if the DLLs are
compatible or not, nothing more.

You can grab the wrapper script from here:
http://svn.debian.org/wsvn/pkg-mono/mono/trunk/debian/mono-api-check?op=file&rev=0&sc=0

hope this helps

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061012/ddd4c7ca/attachment.bin 


More information about the Mono-devel-list mailing list