C
Carles Vela i Aulesa
Hi,
I have a problem when I am trying to compile the .vb assembly to dll
in VB studio 2005 Express Edition.
I have my onw dll, which looks like:
Public Class CL1
Public Shared Function FN1(...) As String
...
End Function
End Class
(in .vb format)
and I have another assembly, in which I have an reference to my
previous dll
Imports CL1
Public Class CL2
Public Shared Function FN2(...) As String
...
End Function
End Class
In VB studio 2005 I created an reference to my dll assembly and all
works fine, but when
I try to create an dll from saved .vb file (vbc.exe /target:library c:
\CL2.vb) I got an error:
Warning: BC40056: Namespace or type specified in the Imports
'DotNetNuke.Services.Upgrade' doesn't contain any public member or
cannot be found. Make sure the namespace or the type is defined and
contains at least one public member. Make sure the imported element
name doesn't use any aliases.
Could someone help how to create the dll file with reference to my own
dll?
Thanks a lot.
Jitsu
I have a problem when I am trying to compile the .vb assembly to dll
in VB studio 2005 Express Edition.
I have my onw dll, which looks like:
Public Class CL1
Public Shared Function FN1(...) As String
...
End Function
End Class
(in .vb format)
and I have another assembly, in which I have an reference to my
previous dll
Imports CL1
Public Class CL2
Public Shared Function FN2(...) As String
...
End Function
End Class
In VB studio 2005 I created an reference to my dll assembly and all
works fine, but when
I try to create an dll from saved .vb file (vbc.exe /target:library c:
\CL2.vb) I got an error:
Warning: BC40056: Namespace or type specified in the Imports
'DotNetNuke.Services.Upgrade' doesn't contain any public member or
cannot be found. Make sure the namespace or the type is defined and
contains at least one public member. Make sure the imported element
name doesn't use any aliases.
Could someone help how to create the dll file with reference to my own
dll?
Thanks a lot.
Jitsu