Build problem

  • Thread starter Thread starter Zeng
  • Start date Start date
Z

Zeng

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...
 
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.
 
Back
Top