Build problem

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...
 
M

Morgan

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.
 

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