Hi,

I wonder if anyone can help. I have a .Net dll written in VS 2010/
Framework 4. It needs to be accessed via VB.Script. I thought this was
possible by putting it in the GAC.

I have signed it with a pfx key and the single class in the library
has this declaration:

Imports System.Runtime.InteropServices

<GuidAttribute("5367C97F-1CB9-448B-90D0-47F3BB6CB9BB"),
ProgIdAttribute("DWF.VFTo3E")> _
Public Class CVFTo3E

.
.
.

End Class

I have it registered for COM Interop in the project properties.

On the development machine it works fine the problems come when I try
to distribute it.

When I try to copy the dll into the C:\Windows\Assembly it is not
added to the list, but no errors appear. It is not listed when I use
the gacutil.


>From VS command prompt using regasm I get Types Registered
successfully. But  it is not listed when I use gacutil.

Using gacutil /i I get Assembly successfully added to the cache. I can
then list it using gacutil and it appears. It doesn't appear in C:
\Windows\assembly which I don't understand.

When I try to do create object from vb Script it doesn't work.

I would appreciate any suggestions.

Thanks

Reply via email to