[Solved] Could not resolve this reference. Could not locate the assembly "Microsoft.Office.Interop.Outlook, Version=14.0.0.0
Introduction
You may experience this error if you try to compile a visual studio solution/project where it is referring to this Microsoft.Office.Interop.Outlook from GAC. This could also happen in a build server where you don’t have outlook installed. You may feel like you hit the dead end where you are forced to install the licensed Microsoft office tools. But we have another alternative which is completely free and ethical.
How did I fix this?
This is the nuget package. We have a nuget library package which is an alternative to Microsoft.Office.Interop.Outlook. This has the same syntax as the interop Microsoft.Office.Interop.Outlook dll. This is called as NetOffice. All the syntax and classes will be same but reference will be different.
0 comments:
Post a Comment
Dear reader, Your comment is always appreciated. I will reply to your queries as soon as possible.
1. Make sure to click on the Subscribe By Email link to be notified of follow up comments and replies. Or you can use Subscribe to: Post Comments (Atom) link.
2. Only English comments shall be approved.
3. Please make your comments self-explanatory. Comment in such a way that it explains the comment so that a counter question can be avoided and can be replied with proper answer on the first go.