Hi TS,
As for the class library project's output assembly, is it strong-named?
Based on my experience, since strong-named assemblly is not copied to
client application(which reference it)'s local location, and when the
application use it do not shadow copy it , there will occur such locking
issue. Also, ASP.NET web application won't shadow copy strong-named
assembly, therefore if this is the case, you can try remove the strong-name
on the class project assembly to see whether it helps.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "TS" <ma**********@nospam.nospam>
| Subject: dll getting locked in referencing project's bin
| Date: Fri, 27 Jan 2006 09:12:34 -0600
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <OS**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 101nat080.tea.state.tx.us 198.214.101.80
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:374030
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| in my web project's bin folder, the dll, that comes from a project
reference
| of a class library in same solution, can't be deleted. it says it has a
| sharing violation. i also cannot delete the .projdata file in the class
| library's obj directory. This is causing updates to the class library not
| getting seen in the web app.
|
| i ran filemon and it just says sharing violation but i dont' know why.
i'm
| sure by closing & re-opening VS.net it will fix it, but i don't want to
| always have to do that. i've killed the worker process and restarted iis
and
| they dont' help.
|
| What do i do?
|
|
| Also, what is the obj directory for?
|
| thanks a bunch!
|
|
|