aspnet_compile - why this bug?

G

Guest

Hi;

I am building using MSBuild and the <MSBuild ... /> task and getting the
following:
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly
'Apache.Xml.Co
mmons, Version=1.0.2.1, Culture=neutral, PublicKeyToken=bd3736a929f259c3' or
one
of its dependencies. The process cannot access the file because it is being
use
d by another process. (Exception from HRESULT: 0x80070020)
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly
'Apache.Xml.Co
mmons, Version=1.0.2.1, Culture=neutral, PublicKeyToken=bd3736a929f259c3' or
one
of its dependencies. The process cannot access the file because it is being
use
d by another process. (Exception from HRESULT: 0x80070020)

I uses WhoLockMe to check the file - it's not locked. And I exited VS2005.
Any idea what is going on?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
S

Steven Cheng[MSFT]

Hello Dave,

From your description here, you're using MSBUILD to build a certain
solution which contains an ASP.NET web project. However, it report an
exception indicating that one assembly

'Apache.Xml.Commons, Version=1.0.2.1, Culture=neutral,
PublicKeyToken=bd3736a929f259c3'

is locked. I think this should be an specific issue. Would you provide some
further information about how this assembly is used in your solution? I
assume that this is an component assembly which is referenced in multiple
projects in the solution, correct?

Please feel free to let me know if there is anything else I missed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Steven Cheng[MSFT]

Hello Dave,

I have found your new thread in the following group:

Subject: build error - locked file
Newsgroups: microsoft.public.dotnet.framework.aspnet

Many community members have postes some suggestion there. I will also
continue to monitor in that thread. Please feel free to followup there.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 

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