What happens when I load an assembly?
Posted
by Baddie
on Stack Overflow
See other posts from Stack Overflow
or by Baddie
Published on 2010-03-06T05:47:48Z
Indexed on
2010/03/13
1:37 UTC
Read the original article
Hit count: 446
asp.net-mvc
|assemblies
In my ASP.NET MVC application, I have the following setup:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;extras"/>
I have referenced assemblies located in the extras
folder in the views and they have worked perfectly (using <%@ Import Namespace="myNameSpace" %>
).
My questions
- What happens when that line is called?
- Where is the assembly loaded?
- Why is it that I can't overwrite the assembly located in the
extras
folder that containsmyNameSpace
with a newer version? (I get an error saying that the assembly is "open" in another program) - Is there a way to overwrite the assembly with a newer version without having the application restart?
© Stack Overflow or respective owner