H
HONOREDANCESTOR
I have several questions about vb.net projects:
1. When I compile my project, it produces a 'bin' folder and an 'obj'
folder and within the 'obj' folder are 2 other folders - 'debug' and
'release'. If I want my code to access a dll that a third party
produced, where do I put that dll. In 'bin'?, In 'debug'? In 'obj'?
2. I find that when I compile my project into an exe, that I have
several copies of that exe in different places. One was in 'bin', one
was in 'debug' and one was in 'release'. Why would I have three of
them?
3. If I want my code to access a third party dll, does that mean I
should have a 'add references' to that dll? Or is just adding the dll
to the 'bin' directory sufficient?
4. I made a 'solution' which had 2 projects in it - one was source for
a dll of my own, and one was source for a exe that calls the dll. I
thought that I needed 'add references' to make the caller know about
the dll. But 'add references' brings up a screen with several tabs.
The dll project was listed in one of the tabs, but that was not
enough. The caller program did not recognize code statements that
referred to the class in the dll. So I used another tab (of add-
references) where I browsed for the 'bin' directory of the dll
project, and once I did that, the caller exe worked with it. But is
that really what I should be doing?
5. Is there a book out there that addresses issues like these?
Thanks,
HA
1. When I compile my project, it produces a 'bin' folder and an 'obj'
folder and within the 'obj' folder are 2 other folders - 'debug' and
'release'. If I want my code to access a dll that a third party
produced, where do I put that dll. In 'bin'?, In 'debug'? In 'obj'?
2. I find that when I compile my project into an exe, that I have
several copies of that exe in different places. One was in 'bin', one
was in 'debug' and one was in 'release'. Why would I have three of
them?
3. If I want my code to access a third party dll, does that mean I
should have a 'add references' to that dll? Or is just adding the dll
to the 'bin' directory sufficient?
4. I made a 'solution' which had 2 projects in it - one was source for
a dll of my own, and one was source for a exe that calls the dll. I
thought that I needed 'add references' to make the caller know about
the dll. But 'add references' brings up a screen with several tabs.
The dll project was listed in one of the tabs, but that was not
enough. The caller program did not recognize code statements that
referred to the class in the dll. So I used another tab (of add-
references) where I browsed for the 'bin' directory of the dll
project, and once I did that, the caller exe worked with it. But is
that really what I should be doing?
5. Is there a book out there that addresses issues like these?
Thanks,
HA