469,134 Members | 1,263 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,134 developers. It's quick & easy.

Interop.Microsoft.Office.Core

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=2.2.0.0,
Culture=neutral' in project 'DSG' cannot be copied to the run directory
because it would overwrite the reference 'Interop.Microsoft.Office.Core,
Version=2.3.0.0, 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??
Allen
The DataSol Group, Inc.

Nov 15 '05 #1
0 5026

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tory Collum | last post: by
5 posts views Thread by C# newbie with big problems | last post: by
1 post views Thread by Alan T | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.