0

HI
Iam created project in visual studio 2008,and once I compile coding,it give me error meassagee.The Error Meassage is

Error 1 The type 'Microsoft.Office.Interop.Excel.Workbook' exists in both 'c:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll' and 'e:\Test\Test\Test\obj\Release\Interop.Microsoft.Office.Interop.Excel.dll'
E:\Test\Test\Test\Test.cs 13 67 Test


So what I did is I delete the Excel.dll in (\obj\Release\Interop.Microsoft\Excell.Dll,but once I complie it make a Interop.Microsoft.Office.Interop.Excel.dll' automatically.How to stop this error.


Thanks
Tank50

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Tank50
0

Hi

yes your right,I removed it from reference ,now its working

Thanks
Tank50

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.