PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Problem with Custom Control in Building it when the same is usedin a new windows project solution
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Problem with Custom Control in Building it when the same is usedin a new windows project solution
![]() |
Problem with Custom Control in Building it when the same is usedin a new windows project solution |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I have created a custom control. I am using this control in a new windows solution-Project after adding the dll from custom control project's bin directory to the toolbox. this works ok for the first time. when I try to do changes in custom control and build it, it builds successfully but never overwrites the dll in bin(and also the changes doesn't gets reflected in the project where I have used this). I tried changing the project configuration from debug to relase and then builded, then I was able to see a dll in relase dir. at present date time. But when add this dll to toolbox and use this custom control in the new project after deleteing the old custom control, the custom control doesn't has the changes. this was supposed to be simple(I think so ). don't know much of thisas I am new to windows and used to work in web. Note: the custom cotrol works with changes if I have the custom control project and new windows project in the same solution. don't understand how this works? can someone please help me with this Thanks Kiran |
|
|
|
#2 |
|
Guest
Posts: n/a
|
See Windows Forms Tips and Tricks for an article on how to debug Windows
Forms Controls. You may also be suffering from a known problem vis-a-vis versioning of your control. To overcome this set the version number in your AssemblyInfo file to an explicit value. ie.. remove all the asterisks. -- Bob Powell [MVP] Visual C#, System.Drawing Ramuseco Limited .NET consulting http://www.ramuseco.com Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Kiran" <someone@somewhere.com> wrote in message news:%23nBO4YnLGHA.1536@TK2MSFTNGP11.phx.gbl... > Hi, > > I have created a custom control. I am using this control in a new windows > solution-Project after adding the dll from custom control project's bin > directory to the toolbox. > > this works ok for the first time. when I try to do changes in custom > control and build it, it builds successfully but never overwrites the dll > in bin(and also the changes doesn't gets reflected in the project where I > have used this). > > I tried changing the project configuration from debug to relase and then > builded, then I was able to see a dll in relase dir. at present date time. > But when add this dll to toolbox and use this custom control in the new > project after deleteing the old custom control, the custom control doesn't > has the changes. > > > this was supposed to be simple(I think so ). don't know much of this as> I am new to windows and used to work in web. > > > Note: > the custom cotrol works with changes if I have the custom control project > and new windows project in the same solution. don't understand how this > works? > > > can someone please help me with this > > > Thanks > Kiran |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 
). don't know much of this
