registering c# dll for Analysis services -
06-05-2004
, 04:21 PM
Hey all
Im used to register vb6 dll's to enhence AS function libraries.
I have a problem with the same procedure when dll is written in c#.
Here are the steps i have taken:
In the project properties I had set the output compilation target option to
'library'.
I had set the 'register for com interop' option to true.
I did not follow any other recomendations regarding .NET COM
interoperability.
After compilation the assembly dll and tlb were created and registered in
registry.
Also I could add a reference to the tlb in visual basic 6 and work with the
dll in that environment.
The only problem here was that the intellisence tool of the vb6 ide could
not supply the type information about the methods included inside classes.
When trying to register this dll to AS through the 'calculated member
builder' libraries register wizard i got the following error:
'unable to add library reference "path to dll" The file contains no
libraries.
embedding the tlb inside the dll as win32 resource did not change matters.
Thanks alot for your attention
Rea |