Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - How to debug unable to rebuild with binary compatibility

Reply
 
Old 04-09-2008   #1 (permalink)
Simon Woods


 
 

How to debug unable to rebuild with binary compatibility

Hi

I have a dll ('dll-X') which runs on top of (dependent upon) several
other dlls.

My build environment has a folder structure

binaries
compat-libs

so I put the target compatibilities into the compat-libs folder and then
I compile against those target libs and place the resulting binary into
the binaries folder.

The dll versions on which dll-X is dependent may well change their
public interface, but dll-X doesn't. It is always using the same source
code. I thought I should be able to rebuild with binary compatiblity,
but I can't. I set compatibility to project and it rebuilds okay. I can
then rebuild with binary compatibility.

I don't know what is stopping me building with binary compatibility and
am wondering how I can find this out. I have manully checked through the
registry looking for old references to the dll-X but can't find anything.

Further, it seems that any component which is dependent on dll-x can no
longer build with binary compatibility even if their public interface
doesn't change.

Now perhaps I've misunderstood binary/project compatibkity but I thought
if the interface remains the same, then I should be ablwe to compile
with binary compatiblity.

Could anyone correct my misunderstanding if I have one and if not, give
some pointers as to how I can track down what is causing VB not not
permit me to compile with binary compatibility

Many thanks

Simon

My System SpecsSystem Spec
Old 04-10-2008   #2 (permalink)
Simon Woods


 
 

Re: How to debug unable to rebuild with binary compatibility

Oops ... sorry ... wrong group!

Simon Woods wrote:
Quote:

> Hi
>
> I have a dll ('dll-X') which runs on top of (dependent upon) several
> other dlls.
>
> My build environment has a folder structure
>
> binaries
> compat-libs
>
> so I put the target compatibilities into the compat-libs folder and then
> I compile against those target libs and place the resulting binary into
> the binaries folder.
>
> The dll versions on which dll-X is dependent may well change their
> public interface, but dll-X doesn't. It is always using the same source
> code. I thought I should be able to rebuild with binary compatiblity,
> but I can't. I set compatibility to project and it rebuilds okay. I can
> then rebuild with binary compatibility.
>
> I don't know what is stopping me building with binary compatibility and
> am wondering how I can find this out. I have manully checked through the
> registry looking for old references to the dll-X but can't find anything.
>
> Further, it seems that any component which is dependent on dll-x can no
> longer build with binary compatibility even if their public interface
> doesn't change.
>
> Now perhaps I've misunderstood binary/project compatibkity but I thought
> if the interface remains the same, then I should be ablwe to compile
> with binary compatiblity.
>
> Could anyone correct my misunderstanding if I have one and if not, give
> some pointers as to how I can track down what is causing VB not not
> permit me to compile with binary compatibility
>
> Many thanks
>
> Simon
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Rebuild the message store of Windows Mail / Rebuild the Windows Mail folder Vista mail
how to rebuild mediaid.bin Vista performance & maintenance
icons rebuild Vista General
WMI Rebuild Vista General
How to embed manifest in TCL binary? - mt.exe corrupting my binary Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46