By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,589 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.


P: n/a
I have a library (named DSG) created in C# which other programs use to build
Excel spreadsheeets. This library uses the office PIAs
"Microsoft.Office.Interop.Excel.dll" and also references the Microsoft
Office v10 library using ActiveX. Recently I loaded Microsoft's Project
2003 (v11) to my programming computer for tracking purposes, which loaded
the Microsoft Office v11 library.

Now, when I run my programs (in VS C#) I get two errors:
1) Warning: The dependency 'Interop.Microsoft.Office.Core, Version=,
Culture=neutral' in project 'DSG' cannot be copied to the run directory
because it would overwrite the reference 'Interop.Microsoft.Office.Core,
Version=, Culture=neutral'.
2) The dependency 'Interop.Microsoft.Office.Core' could not be found. (this
occurs in the main program which references the library DSG).

I believe this is due to the version discrepancies, but I cannot seem to
rectify this. If I drop the Microsoft Office v10 library and reference the
v11 library instead, the results are the same. Even if I drop the reference
to the Microsoft Office altogether, the results are the same. It must be
something simple that I am overlooking.

Any ideas??
The DataSol Group, Inc.

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.