Difference with build make.bat and Delphi IDE

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nschmied
Posts: 72
Joined: Mon 09 May 2005 08:03
Location: Suisse

Difference with build make.bat and Delphi IDE

Post by nschmied » Thu 14 Jul 2005 07:37

Hello,
I use Borland Delphi 2005 prof. 9.0.1935.22056 Updt 3 and the laste ODAC component.

When I build CoreLab.Dac, CoreLab.Dac.Design, CoreLab.Odac and CoreLab.Odac.Design package with the Delphi IDE after I don't install the component to Delphi IDE. I have this error
The located assembly's manifest definition with name 'CoreLab.Odac' does not match the assembly reference
But if I build this package with make batch file, I can install component.

Have you a idea ???
Thanks for your help.

Guest

Post by Guest » Thu 14 Jul 2005 15:07

I found if I delete the AssemblyKeyFile

Code: Select all

[assembly: AssemblyKeyFile('')]
it's work. Whats append with the keyfile corelab.snk ?

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 15 Jul 2005 14:31

We got your request and now examines the problem.
Unfortunately now we couldn't give you any information.
As soon as we solve the problem, we'll let you know.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Tue 30 Aug 2005 08:05

It's look like Delphi for .NET bug. If you compile two signed assemblies where one "Reference" to another - Delphi places random PublicKeyToken in reference to your assembly (such behaviour happens only when compiling from IDE).

Post Reply