From dc4e65e23ed83c39280e7a1ae284a25ca1437d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20D=C3=A4schler?= Date: Thu, 21 Oct 2021 09:00:51 +0200 Subject: [PATCH] Appointments are now closed after rendering to avoid locked elements. Also Manifest version is now incremented automatically after doing a publish. --- Outlook2013TodoAddIn/AppointmentsControl.cs | 5 +++++ Outlook2013TodoAddIn/Outlook2013TodoAddIn.csproj | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Outlook2013TodoAddIn/AppointmentsControl.cs b/Outlook2013TodoAddIn/AppointmentsControl.cs index f091e9a..e54f41b 100644 --- a/Outlook2013TodoAddIn/AppointmentsControl.cs +++ b/Outlook2013TodoAddIn/AppointmentsControl.cs @@ -386,6 +386,11 @@ namespace Outlook2013TodoAddIn this.apptCalendar.ShowWeekNumbers = this.ShowWeekNumbers; this.apptCalendar.UpdateCalendar(); + + lstItems.ToList().ForEach(i => + { + i.Close(Outlook.OlInspectorClose.olDiscard); + }); } /// diff --git a/Outlook2013TodoAddIn/Outlook2013TodoAddIn.csproj b/Outlook2013TodoAddIn/Outlook2013TodoAddIn.csproj index 496b277..e1263bd 100644 --- a/Outlook2013TodoAddIn/Outlook2013TodoAddIn.csproj +++ b/Outlook2013TodoAddIn/Outlook2013TodoAddIn.csproj @@ -39,8 +39,8 @@ publish\ en - 1.0.0.0 - false + 1.0.0.2 + true false 0 days @@ -257,6 +257,7 @@ + SettingsSingleFileGenerator Settings.Designer.cs @@ -303,10 +304,10 @@ true - Outlook2013TodoAddIn.pfx + Outlook2013TodoAddIn_TemporaryKey.pfx - 37F03CD5E30D210FD9AA8C01D4EADA287F695A9F + 94058FB06E6CC5253E0FA73A9FC5ABD6297E9D19 false @@ -323,7 +324,7 @@ - +