Assembly error

Last post 05-21-2008 4:29 AM by Thomas Sun – MSFT. 2 replies.

Sort Posts:

  • Assembly error

    05-17-2008, 1:11 AM
    • Loading...
    • rcsprakash
    • Joined on 02-26-2008, 12:30 PM
    • Posts 96

    The type 'test_class' is defined in an assembly that is not referenced. You must add a reference to assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

     

    what is this, how can i resolve it 

    - Suria Prakash,
    Software Developer
    D'zine Garage Pvt. Ltd
    Chennai,TN,India.
  • Re: Assembly error

    05-17-2008, 9:09 AM
    Answer
    • Loading...
    • Jeev
    • Joined on 11-24-2005, 7:49 AM
    • Posts 2,304

    Looks like there is a problem in reference.where is this test_class located ? is it in your project or is it in an external dll?

    Jeev
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If you get the answer to your question, please mark it as the answer.
  • Re: Assembly error

    05-21-2008, 4:29 AM
    Answer

    Hi,

    Could you please tell us how you get this error message?

    We might get such issue when we deploy the website on server where there is not needed assembly. If so, you can copy the assembly to server. For more information, see http://www.xheo.com/xdn/kb/article/10003.aspx.

    If you try to unit test the class exists in App_Code, please refer to http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3028857&SiteID=1.

     

    If this doesn’t help you, please feel free to let me know.

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (3 items)