ruedi
ruedi

Reputation: 5545

How to access an own namespace in different applications but same project?

I have two Applications. Applications1 owns Namespace SelfMade now I want to import that Namespace in Application2 but cannot find it. I tried Imports SelfMade but vb cannot find the Namespace. How I can access my namespace in Application2?

Example of my Namespace:

Namespace testNS
Public Class Triangle

    Public Length As Double
    Friend Height As Double
    Private Option As Double

End Class
End Namespace

Upvotes: 0

Views: 66

Answers (1)

aL3891
aL3891

Reputation: 6275

Make sure you have a reference to Application 1 in Application 2

(Right click on application 2 in solution explorer and click add reference, then select Projects and then select Application 1)

Here is more info on msdn

Upvotes: 1

Related Questions