Error in Automation.

Posted by Gudevg under C# on 4/25/2012 | Points: 10 | Views : 966 | Status : [Member] | Replies : 1
I am creating word file for automation process and i used namespace properly. but i get this error while compilation The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference?)

I use this in namespace
 using Word = Microsoft.Office.Interop.Word;

Any one please help me to resolve this error?

Deepakkumar G.


Posted by: Dotnetrajanikanth on: 4/25/2012 [Member] Starter | Points: 25

Go to solution explorer... on top click show all files icon.... then you can see references.... right click and add reference... in .net tab choose Microsoft.Interop.<what ever you want>.

Is this what you are looking for??


Gudevg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response