D
Dominic Rousseau
Hi!
According the code below (2 class library projets):
'Project 1: ns1.Class1
Public Class Class1
Public Sub New()
Dim cls2 As New ns2.Class2
cls2.method1(Me) 'THE ERROR OCCURS HERE (on Me keyword)...
cls2 = Nothing
End Sub
End Class
'Project 2: ns2.Class2
Public Class Class2
Public Sub method1(ByVal cls1 As ns1.Class1)
'do something here...
End Sub
End Class
I get de following precompiler error:
Reference required to assembly 'class1' containing the type
'ns1.Class1'. Add one to your project.
I read similar posts on other groups but no one suggested a solution
that worked for me...
Thanks.
Dom
According the code below (2 class library projets):
'Project 1: ns1.Class1
Public Class Class1
Public Sub New()
Dim cls2 As New ns2.Class2
cls2.method1(Me) 'THE ERROR OCCURS HERE (on Me keyword)...
cls2 = Nothing
End Sub
End Class
'Project 2: ns2.Class2
Public Class Class2
Public Sub method1(ByVal cls1 As ns1.Class1)
'do something here...
End Sub
End Class
I get de following precompiler error:
Reference required to assembly 'class1' containing the type
'ns1.Class1'. Add one to your project.
I read similar posts on other groups but no one suggested a solution
that worked for me...
Thanks.
Dom