K
Kevin Mellor
Hello all,
I hope someone can help me. I am not new to developing but am new to
C# (assemblies etc) and V Studio 2003, although familiar with
terminology from VS6.
I am in the nightmare scenario of picking up half written code
without comments. This is what I have done.
The original 'Solution' contained only 1 project and several
references to 'Release' build assembly files. This was no good as I
couldn't step through the code in the debugger.
So I added the projects containing the source for the references to
the solution and then recreated the references as project references.
So far so good, I can now step through the code.
But now for some reason (maybe it was something I did, I am not sure)
my dialog boxes which contain user controls (these user controls being
made in the additional projects I previsouly mentioned) no longer have
these user controls - I thnk VS in it's wisdom removed them.
This is my problem:-
I understand that to drag and drop these controls back onto my dialog
box I do so from the toolbox. But they are not on the toolbox.
I also understand I can add the built assemblies to the toolbox so I
then can drag and drop them onto my dialog. But I am sceptical.
These controls are now a part of my solution. If I never store the
built binaries and only the source, how would a fresh source safe
retrieval populate the toolbox with my user controls again? And how
would I ensure debug code was used for a debug build and release code
for a release build if I explicited added a release binary to the
toolbox?
I hope that makes sense.
I think, in other words, what I would like to do, is add the project
to the toolbox so it knows if to use release of debug, in the same way
you add a project reference.
Any thoughts on this would be greatly appreciated.
Thanks in advance.
Kevin Mellor
(e-mail address removed) (e-mail accepted but prefer reply to post so others
can benefit)
I hope someone can help me. I am not new to developing but am new to
C# (assemblies etc) and V Studio 2003, although familiar with
terminology from VS6.
I am in the nightmare scenario of picking up half written code
without comments. This is what I have done.
The original 'Solution' contained only 1 project and several
references to 'Release' build assembly files. This was no good as I
couldn't step through the code in the debugger.
So I added the projects containing the source for the references to
the solution and then recreated the references as project references.
So far so good, I can now step through the code.
But now for some reason (maybe it was something I did, I am not sure)
my dialog boxes which contain user controls (these user controls being
made in the additional projects I previsouly mentioned) no longer have
these user controls - I thnk VS in it's wisdom removed them.
This is my problem:-
I understand that to drag and drop these controls back onto my dialog
box I do so from the toolbox. But they are not on the toolbox.
I also understand I can add the built assemblies to the toolbox so I
then can drag and drop them onto my dialog. But I am sceptical.
These controls are now a part of my solution. If I never store the
built binaries and only the source, how would a fresh source safe
retrieval populate the toolbox with my user controls again? And how
would I ensure debug code was used for a debug build and release code
for a release build if I explicited added a release binary to the
toolbox?
I hope that makes sense.
I think, in other words, what I would like to do, is add the project
to the toolbox so it knows if to use release of debug, in the same way
you add a project reference.
Any thoughts on this would be greatly appreciated.
Thanks in advance.
Kevin Mellor
(e-mail address removed) (e-mail accepted but prefer reply to post so others
can benefit)