Reputation: 3876
I am working on a C# project which requires reading of a word file. I have microsoft.office.interop.word in my machine's Global Assembly Cache but still it would NOT show up in Visual Studio's Project reference list. Any thoughts?
Upvotes: 0
Views: 686
Reputation: 191
There is a browse button in the Add References dialog that lets select an arbitrary .NET dll to add as a reference. Since you have already found the dll in the GAC, you can just copy the path into that dialog and add from there.
While it has been a while since I have worked with the interop with Office via a .NET program, there is also the COM tab in the dialog and I believe that should have a reference to Word. That may be the one that you are supposed to use.
Upvotes: 1