error BC30652: Reference required to assembly

Discussion in 'ASP .Net Building Controls' started by Sam Vanderstraeten, Aug 11, 2003.

  1. Hi,

    - VB.NET
    - Visual Studio 2002
    - 2 Solutions

    - Next errormessages in tasklist:
    ----------------------------
    C:\Inetpub\wwwroot\myProject\BlahBlah.vb(92): Reference required to assembly
    'ClassFormConfig' containing the type
    'ClassFormConfig.ClassCheckControlType'. Add one to your project.
    ----------------------------

    - Next errormessage in Output-Window:
    ----------------------------
    C:\Inetpub\wwwroot\myProject\BlahBlah.vb(92): error BC30652: Reference
    required to assembly 'ClassFormConfig' containing the type
    'ClassFormConfig.ClassCheckControlType'. Add one to your project.
    ----------------------------

    It look clear what this means, but the Class "ClassCheckControlType" is in
    the same project en is declared as public!

    Solution A contains:

    ++++++ Class1.VB +++++++
    Public Class ClassCheckControlType
    BlahBlah...
    End Class
    ++++++++++++++++++++++++

    and

    ++++++ Class2.VB +++++++
    Public Class CallMe
    ...
    Dim myObj As New CreateDropDown()
    Dim huidigeControl As New ClassCheckControlType()

    myObj.BuildDropDownlist(huidigeControl)
    ...
    End Class
    ++++++++++++++++++++++++


    Solution B contains:

    ++++++ Class3.VB +++++++
    Imports ClassFormConfig

    Public Class CreateDropDown
    Public Sub BuildDropDownlist(ByVal incomingObject As ClassCheckControlType)
    ....
    End Sub
    End Class
    ++++++++++++++++++++++++

    All references are made, what can be wrong? I can reach the properties and
    methods from that class but why do I get that error?

    Kind regards,
    Sam
    Sam Vanderstraeten, Aug 11, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Prasanna Padmanabhan
    Replies:
    1
    Views:
    793
    Mattias Sjögren
    Nov 19, 2003
  2. Sam Vanderstraeten

    error BC30652: Reference required to assembly

    Sam Vanderstraeten, Aug 11, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,703
    Sam Vanderstraeten
    Aug 11, 2003
  3. Andy Mortimer [MS]

    RE: compiler error BC30652

    Andy Mortimer [MS], Oct 21, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,150
  4. John
    Replies:
    7
    Views:
    903
  5. Sam Vanderstraeten

    error BC30652: Reference required to assembly

    Sam Vanderstraeten, Aug 11, 2003, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    447
    Sam Vanderstraeten
    Aug 11, 2003
Loading...

Share This Page