So, I have the contents from the bin folder of the Sample Website that you get when you download the toolkit. I want to put that in a folder in my solution, so that I can check it into subversion. This means that every developer will always work with the same version of the toolkit.
Now for the problem: for convenience you want to add the controls to your VS toolbox, so you use the .dll in C:\Program Files... But then when you drop a control on a page, the referenced dll is changed to reference the on ein C:\Program Files. To avoid this, you need to add the dll from the solution folder to the VS toolbox, but now your toolbox is depending on one certain project and that's no good.
I'm kind of confused. What is the best way to do this?
Hi,
As far as I know, the assembly isn't necessary to be in the c:\pro... folder.
Yes, it can be anywhere. So what do you do when you want it in your toolbox? If you add it to your toolbox from c:\Program Files and then add a control to your page, you will get a reference to C:\Program Files. If you want the reference to be to a locationinside your solution, you'd have to add the control to your toolbox for each different solution that you are working with because otherwise the reference will be changed to C:\Program Files as soon as drag a control from the toolbox (because the toolbox gets the controls from C:\Program Files).
Do see the problem?
No comments:
Post a Comment