add a reference to the dll in VS.NET, if you are using command line csc.exe, add an option like
/r:SimpleControlSamples.dll

解决方案 »

  1.   

    怎么加啊?
    我在aspx文件的开头加入引用了阿:
    <%@ Register TagPrefix="SimpleControlSamples" Namespace="SimpleControlSamples" Assembly="SimpleControlSamples.dll" %>
    这样不就行了吗?难道还要加引用?怎么加?
      

  2.   

    <%@ Register TagPrefix="MyCustomControl" NameSpace="NewRiders" Assembly="Converter" %>
    这是引用自定义控件,很可能你没有引用或者是引用错误!
      

  3.   

    是不是你生成的.dll没有放在bin目录下?