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

Hi

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

Thanks
Tank50