Hello,
I don't know why I'm the only one in my development team get this build
error when I build the entire solution. CommonLib.dll is a binary file
resulted of building another project included in the solution. Has anyone
had similar problem? Thanks!
------ Rebuild All started: Project: CommonLib, Configuration: Debug
.NET ------
Preparing resources...
Updating references...
Performing main compilation...
c:\MySoln\CommonLib\file.cs(704,18): warning CS0168: The variable 's' is
declared but never used
Build complete -- 0 errors, 1 warnings
Building satellite assemblies...
------ Rebuild All started: Project: MyApp, Configuration: Debug .NET ------
Preparing resources...
Updating references...
Cannot copy assembly 'CommonLib' to file
'C:\MySys\MySoln\MyApp\bin\CommonLib.dll'. The process cannot access the
file because it is being used by another process.
Performing main compilation...
Jason He - 12 Sep 2003 18:47 GMT
Zeng,
It looks like your dll is in use somewhere. It's not a build issue.
Can you try to delete it first then rebuild it.
Thanks
Jason
--------------------
| From: "Zeng" <zzy@nonospam.com>
| Subject: Build problem
[quoted text clipped - 6 lines]
| Message-ID: <eIzS0sUeDHA.3428@tk2msftngp13.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.framework.clr,microsoft.public.dotnet.framework.aspn
et
| NNTP-Posting-Host: 12.106.86.230
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:176456
microsoft.public.dotnet.framework.clr:7975
| X-Tomcat-NG: microsoft.public.dotnet.framework.clr
|
[quoted text clipped - 25 lines]
| file because it is being used by another process.
| Performing main compilation...
Morgan - 12 Sep 2003 21:07 GMT
>The process cannot access the file because it is being used by another
process.
It appears you have an application/process accessing this file and it cannot
overwrite the file to the /Bin directory.
> Hello,
>
[quoted text clipped - 23 lines]
> file because it is being used by another process.
> Performing main compilation...