Re: question about Temporary ASP.NET Files folder
From: Roy (Roy_at_discussions.microsoft.com)
Date: 08/19/04
- Next message: Shamir: "RE: Resize image"
- Previous message: Ben Lucas: "Re: Datagrid Dropdown Problems...."
- In reply to: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Next in thread: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Reply: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 07:55:02 -0700
I can understand the reason you gave. But it confuses me more since it
complecates the deployment. I have a subfolder with some resource files under
it. This folder is relative to the bin folder, which means I can get the
folder dynamically from my assembly dll under bin folder. If the dll loaded
is the one under temporary folder, I cannot use XCopy to deploy my project.
How can I resolve it?
"Scott Allen" wrote:
> Hi Roy:
>
> I believe the ASP.NET team was trying to reduce the number of
> scenarios where you have to restart the web application.
>
>
> If ASP.NET loaded the DLL from the bin folder, the DLL would become
> locked. The only way to update the DLL would be to stop the web
> application to release the lock and then copy in the new DLL.
>
> The way it works now is ASP.NET makes a shadow copy of the DLLs in the
> bin directory. If you slide in a new version ASP.NET will detect the
> new file, shadow copy and load it up.
>
> HTH,
>
> --
> Scott
> http://www.OdeToCode.com
>
> On Thu, 19 Aug 2004 06:07:02 -0700, Roy
> <Roy@discussions.microsoft.com> wrote:
>
> >My dll file is copied to the
> >"%windir%\Microsoft.NET\Framework\{version}Temporary ASP.NET Files" folder
> >when I compile my asp.net project. When I run the application. The dll under
> >this folder is loaded, not the one under bin folder. Why is that? How can I
> >load the one under bin folder?
>
>
- Next message: Shamir: "RE: Resize image"
- Previous message: Ben Lucas: "Re: Datagrid Dropdown Problems...."
- In reply to: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Next in thread: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Reply: Scott Allen: "Re: question about Temporary ASP.NET Files folder"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|