I am trying to compile my C# program into a Program.exe.
I am using method which is mentioned in this post "POST Reference"
The program uses "Microsoft.Office.Interop.Outlook" object and during compiling CMD it gives the following error. (Microsoft.Office.Interop Post Reference)
And This is the Code
and I tried adding the object in Project reference Outlook Object Ref
In the error it described that there is a missing argument in "Microsoft.Office.Interop.Outlook"
Need help on this issue.
Thanks for reading.