I think you may have answered a question I was just about to post. I wanted
to have two configurations of my ASP.NET project (I'm using an Access
database and obviously the databases are in different locations on my local
machine where I test, and on the server where the app will finally run, so
each version has a different connection string, among other differences). For
simplicity I decided to just use the standard Debug and Release
configurations which are there already. I changed the output path for the
Debug configuration from /bin to /debug and built both with no problem - but
when I ran with the Debug configuration it just went right on running the
Release version. Is this simply not possible with an ASP.NET project, and if
not why are the two configurations there at all, they seem to serve no
purpose?
--
Dave
"Brock Allen" wrote:
Assembly loading in .NET is done by the assembly resolver. It has certain
rules it follows when loading assemblies and these rules are influenced by
configuration. In a stand-alone application you can configure this behavior
by modifying the application configuration file, but in ASP.NET the ASP.NET
runtime configures the host AppDomain. When it does this, it essentially
gives you the two options of the GAC or the ~/bin.
-Brock
DevelopMentor
http://staff.develop.com/ballen
hi,
is it possible to place my .dll -files instead of in the bin dir of
the website in an other directory somewhere on my computer? the
assemblies should be loaded automatically. I want to centralize my
dll-files.
Thanks for help,
alex