Dylan Parry wrote:
Pondering the eternal question of "Hobnobs or Rich Tea?", Patrick.O.Ige
finally proclaimed:
What Santhi was saying is you should copy the DLL's to the bin
directory and make reference to that directory by right clicking on
your project and select Add reference from VS.NET
I've done that for reusing the same DLL's in several projects, but that
still means that I have to upload the produced DLL file for each of the
sites using it though? What I want to be able to do is only upload it to
*one* location and have all the sites use it from there rather than have
a separate version of it in each site's /bin directory.
--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!
Usenet: The first post is free, but the next will cost you your soul.
Hi Dylan,
If each of the sites literally uses exactly the same DLLs, and only the
same DLLs, there may be a way - but only if you can get access to the
box. So was your original restriction of "access only by FTP" a "I can
only access via FTP for my day-to-day website maintenance - the server
is locked away in the server room away from prying hands", or more of a
"I'm hosted, the hosters only let me upload via FTP".
If you can get access to the box, then there is a program available in
the windows resource kits that essentially allows you to connect
directories together so that they are one single directory. It's called
linkd, and you'd probably want to experiment with it on a normal
machine before doing it to your server. Also, I cannot think of a
reason why it wouldn't, but this may not be a supported way of using
ASP.NET.
If you're not allowed any access to the server, you may be able to
persuade your hosters that this is a perfectly safe thing to do, and
get them to do the work for you. Good luck with that! :-)
Other than that, I do not believe there's any way to do what you want
to do - ASP.NET expects things to be in certain paths, so unless you
can make the filesystem make the files appear at those paths, you'll be
out of luck.
Damien