Compile Error: Could not copy temporary files to the output directory.

  • Thread starter Thread starter moondaddy
  • Start date Start date
M

moondaddy

I keep getting the following 2 compile errors. not every time, but often
after running the project, stopping it, editing some thing and then running
it again. Usually i need to reboot VS and sometimes the PC to clear this
issue and run it again - only to repeat the process a few times later.

myTypes is one of the projects in the solution.
 
You might try stopping the indexing service and try: Run "net stop cisvc"
and run your project

I keep getting the following 2 compile errors. not every time, but often
after running the project, stopping it, editing some thing and then running
it again. Usually i need to reboot VS and sometimes the PC to clear this
issue and run it again - only to repeat the process a few times later.

myTypes is one of the projects in the solution.
 
Hi

In addtion to Shiva's suggestion, I think you may also take a look at the
KB below.
The "could not copy temporary files to the output directory" error is
generated in Visual Studio .NET (311491)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;311491

BUG: "Could not copy temporary files to the output directory" error message
when you build a solution that contains multiple projects (313512)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;313512

FIX: You may receive the ¡°Cannot copy assembly¡± error message when you
try to build a Visual C# .NET solution in Visual Studio .NET 2003 (887818)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;887818

You may try to search the keywords in the KBs.
http://support.microsoft.com/search/default.aspx?qu="Could+not+copy+tempor
ary+files+to+the+output+directory%22


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top