Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Adding References in the Design Time automatically
 

Adding References in the Design Time automatically



HI,

We have a custom component which is using some system dlls and custom dls.

When any developers uses this component, he has to add the above two references manually using the Add - References in the Project solution.

Is there any way to do this automatically so that whenever the user adds our custom component this two references should be added in the assembly refences of the project in the design time itself????

MigrationUser 1  Wednesday, April 27, 2005 7:48 AM
i believe this is done automatically when you have installed your control/component in the toolbox and you dragged it into a form in your project.
MigrationUser 1  Thursday, April 28, 2005 10:13 PM
Yes, why would it not work? My experience is that Visual Studio correctly determines all the dependencies and adds them. There must be something peculiar about your tool box entry. Or are you not using the toolbox? If you are not using the toolbox, there is no solution -- your user must add them explicitly.
MigrationUser 1  Monday, May 09, 2005 4:50 PM

You can use google to search for other answers

Custom Search

More Threads

• Changing font of ErrorProvider and DataGridViewRow.ErrorText
• Text Location in C# Label control .NET forms mysterious padding????
• Applying DesignerSerializerAttribute to interface: abstractive UI
• PointF Type Converter
• Use external resource dll from designer (ie, button->Image)?
• Is there is any way to accesses the protected SetStyle property of a control from the outside?
• set client area of control that inherits from panel
• ".resx" files not kept up-to-date by Visual Studio
• TabControl - problem
• Toolbar Button Problem