Q:

TeamCity not copying Microsoft.Office.Interop.Excel.dll

I have Microsoft.Office.Interop.Excel.dll referenced in my project, which lies inside my lib folder and has it's property set to Copy Local=true in visual studio 2008. When I build my project both in release & debug mode, the library is copied to the output.However when TeamCity runs the build, I cannot find the library in the output.Any specific reasons why this could be happening?
Note that my teamcity server has Office2007 installed wherin my dev machine has office2003 installed.
Also could you please suggest some ways to overcome this issue?
Thanks,
-M

A:

Try removing Office on your machine... Or remove those from Windows cache assemblies 

