Get this compile error "Could not copy temporary files to the output directory."

T

tony

Hello!

When I build an exe file that use 6 class library dll I get this error.
Could not copy temporary files to the output directory.
The file 'MeltPracStorage.dll' cannot be copied to the run directory. Det
går inte att komma åt filen eftersom den används av en annan process.

All six project is located in the solution that build the exe file

This compile error occurred when I add project 'MeltPracStorage to the
solution.
I use copy local=true

If I have this MeltPracStorage in a solution of its own and only reference
the class dll MeltPracStorage.dll in the reference list for the project that
build the exe file I don't get any errors.

The MeltPracStorage.dll size is 176 kB

Have you any kind of suggestion to ny problem.

//Tony
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Sometimes I get this very same error, the solution is just delete everything
inside the final project debug directory and rebuild the solution
 

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