Problems building a class library that wasonce a windows app

T

Tony

I am trying to build a solution where one of the projects is now a class
library and was once a windows app.
Everytime I build I get the message :

"Could not copy temporary files ot the output directory" & "The file
"app.dll" cannot be copied to the run directory. The process cannot access
the file because it is being used by another process"

Any suggestions?

TIA

Tony
 
S

Sunil TG

This error comes becuase the process might still be
running in your computer. Goto task manager, kill the
process, and then rebuild the whole solution again.

HTH
Sunil TG
 
T

Tony

Thanks, but I already tried that.
It happens even when I have killed the lot and started the studio again.
I have read the msdn and it says about setting the "Copy Local" flag true..

Any ideas how this is done?

Tony
 
H

Herfried K. Wagner [MVP]

* "Tony said:
Thanks, but I already tried that.
It happens even when I have killed the lot and started the studio again.
I have read the msdn and it says about setting the "Copy Local" flag true..

Where did you read that in MSDN? Are you referencing the DLL?
 

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