trouble with setup.msi and dlls in bin directory

G

Guest

Hi,

I have a vb.net solution 2003 with 2 projects (1 is the interface) and (1 is
a class library). I have created a setup project.

If I put all my dlls and dependency dlls in the application folder of the
file system on target machine everything works fine.

However, I wanted to put all my dll files into a bin directory under the
application directory. I tried this and it did not work. I get an error
saying that dependency files are missing.

Does the framework not look automatically first in the bin directory then in
the app directory, then in the global assembly for referenced assemblies?

How do I get my dlls in the bin direcotory to be found by the application
which is executing from the parent directory directly above it?

Should I even try this?

thanks

Chris
 
C

CodeBlows

My experience with 2003 i always put all my dependencies in a bin
folder. When
I referenced these assemblies in my application to the bin directory.
I never
had a problem with my app once it was on desktops putting the
assemblies
one directory below in a bin folder. Maybe check where your project
references
the dependencies.
 
G

Guest

I do have all my dependency assemblies in the bin directory of the
development folder. Yet it does not translate over in the setup project.

example:

app1 folder contains: app.config, app1.exe
bin folder below contains: app1class.dll, dependency dlls

in setup project file system on target machine, i mirror image the same
structure as above.

it does not work, if i copy and paste the dependencies up to the app
directory, it works fine.

please advise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top