I am trying to create a new add-in for Microsoft Outlook (365) using Visual Studio 2015, however I am experiencing problems with the add-in being able to crash Outlook.
Steps to reproduce:
- Create a new Project in Visual Studio 2015, of type "Outlook 2013 and 2016 VSTO Add-in".
- Right Click Project, Select Add, then New Item and select "Outlook Form Region"
- Select "Design a new form region", click next (this is the default option)
- Select a "Separate" Region as the type, click Next (this is the default option)
- Select the default suggested name.
- Select only Mail Message (IPM.Note) when asked which messages classes. (this is the default option)
- Build and Run Project.
- In Outlook create a new message.
- Add an attachment (Word Doc). (Adding the attachment causes the crash!)
- Click the button to show the form region.
- The Form region is shown, then outlook crashes.
During the project set up, I have used all the default options suggested by VS.
Has anyone else experienced the same issues? or could suggest any possible reasons for the crash ?
Thanks.