Could not copy temporary files to the output directory

The project system could not copy temporary files to the output directory. Compilers always build to intermediate directories, for example, obj\configname. At the conclusion of the build process, the project system copies the files from the intermediate directory into the project output directory.

This problem may occur when one of the assemblies that you compile is larger than 64 kilobytes (KB) and one (or both) of the following conditions is true:

  • Your solution contains projects that are compiled to the same output folder.

  • The Copy Local property on one of the referenced assemblies or projects is set to False.

To correct this error

  • Compile the outputs for individual projects to different folders.

  • Set the Copy Local property for the referenced assembly or project to True.

  • Verify that you do not have the Object Browser window open.

  • Verify that you do not have the same project (or projects) open in another instance of Visual Studio 2005.

See Also

Tasks

How to: Set the Copy Local Property of a Reference