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. Advertisements

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:
    1,047
    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,826
    Sam Vanderstraeten
    Aug 11, 2003
  3. Horatiu Margavan via .NET 247

    Assembly's manifest definition does not match the assembly reference.

    Horatiu Margavan via .NET 247, Aug 30, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    3,852
    Horatiu Margavan via .NET 247
    Aug 30, 2004
  4. Andy Mortimer [MS]

    RE: compiler error BC30652

    Andy Mortimer [MS], Oct 21, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,314
  5. Replies:
    5
    Views:
    929
    Vitaly
    Jan 28, 2007
  6. Monty
    Replies:
    2
    Views:
    632
    Walter Wang [MSFT]
    Jun 6, 2007
  7. John
    Replies:
    7
    Views:
    1,189
  8. Sam Vanderstraeten

    error BC30652: Reference required to assembly

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