Could Not Copy built outputs to the web Error

  • Thread starter Thread starter Greg Geller via .NET 247
  • Start date Start date
G

Greg Geller via .NET 247

Hi all,

I have created a web application. I have included a reference to the Microsoft Excel 9.0 object. When I compile the project, I receive the following error:

"Could not copy built outputs to the Web. Unable to add 'C:\Documents and Settings\VSWebCache\ExcelTest\bin\Interop.Office.dll' to the project."

Has anyone else had this same problem?

Any help would be greatly appreciated.

Thanks in advance.

Greg
 
Greg,

I haven't seen this specific error before, but perhaps this might help you.
Can you add the reference to this COM DLL in another Web project and compile
it, or do you get the same error? If so, remove the reference from your
project, close VS .NET, clear the project folder from the VS Web cache, open
the project in VS .NET and add the reference again.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Greg Geller via .NET 247 said:
Hi all,

I have created a web application. I have included a reference to the
Microsoft Excel 9.0 object. When I compile the project, I receive the
following error:
"Could not copy built outputs to the Web. Unable to add 'C:\Documents and
Settings\VSWebCache\ExcelTest\bin\Interop.Office.dll' to the project."
 
Back
Top