Custom control doesn't add the reference automatic!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: xman (xman_at_unipower.se)
Date: 05/06/04


Date: Thu, 6 May 2004 00:06:03 -0700

I'm trying to build a custom control and it's works fine in the design time when I use the control on my form.
But it doesn't add the reference automatic in my solution? Does anyone know why it doesn't?

So I must add my reference manually otherwise I get an error (about directive or assembly reference).
How can I make this more userfriendly?



Relevant Pages

  • Re: VS 2005: multiple dlls for one website possible?
    ... >and shouldn't reference and web project assemblies. ... it calls the classes in the web app. ... and the custom control ...
    (microsoft.public.dotnet.framework.aspnet)
  • Problem with designer verb
    ... I'm trying to add a designer verb to my custom control. ... as a reference. ... I'm using Visual Studio 2003 running under Windows XP Pro. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Adding @Assembly references programmatically
    ... then you can add the @Assembly directive to the ASCX file. ... If it's a custom control, then add the reference to the assembly via project references and then compiling your project. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Using IFRAME in a custom control
    ... I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library. ... How can I reference this page without having to copy it down locally? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: create design time library using vs.net
    ... design version and others are used for the run time version. ... > - copy the runtime library project file to a new design time project file ... You must add a reference to assembly 'System.Windows.Forms'. ... > The dependency 'Accessibility' could not be found. ...
    (microsoft.public.dotnet.framework.compactframework)