Can /bin directory be virtual?

G

Guest

I want to share common code across multiple instances of an ASP.NET web
application by make the /bin directory of each installation point to the same
/bin directory.

Is this even possible?

I'm not having any luck. A 'physical' /bin directory works fine, but making
it virtual results in a global.asax error being thrown, due to not being able
to find the compiled code-behind for global.asax (global.asax.cs)
 
B

Bruce Barker

no. asp.net uses the physical bin folder under the vdir. use source control
for this feature

-- bruce (sqlwork.com)
 
J

Juan T. Llibre

re:
I'm not having any luck. A 'physical' /bin directory works fine,
but making it virtual results in a global.asax error being thrown,
due to not being able to find the compiled code-behind for
global.asax (global.asax.cs)

That's what happens when you try to subvert the platform's rules.




Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 
P

Patrice

Nope. Perhaps with "hard links" but my personal preference would be just to
include this in my "deployment procedure" and copy those DLLs on each site
(you'll have anyway for ASPX files at least with 1.1)...
 

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