Skip to content

Commit

Permalink
Don't load on-demand (no UI trigger so it never loads).
Browse files Browse the repository at this point in the history
Revert "Load plgin on-demand (instead of startup). Compile only for x64. Relates #8"

This reverts commit f46479e.
  • Loading branch information
michaelsanford committed Mar 23, 2022
1 parent f46479e commit fa0749e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 6 additions & 8 deletions Walled Garden Outlook AddIn/OutlookAddIn/OutlookAddIn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@
<AssemblyName>Walled Garden for Outlook</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<DefineConstants>VSTO40</DefineConstants>
<IsWebBootstrapper>False</IsWebBootstrapper>
<BootstrapperEnabled>true</BootstrapperEnabled>
<PublishUrl>publish\</PublishUrl>
<InstallUrl />
<TargetCulture>en</TargetCulture>
<ApplicationVersion>1.0.0.3</ApplicationVersion>
<ApplicationVersion>1.0.0.0</ApplicationVersion>
<AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision>
<UpdateEnabled>true</UpdateEnabled>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>days</UpdateIntervalUnits>
<IsWebBootstrapper>False</IsWebBootstrapper>
<ProductName>Walled Garden for Outlook</ProductName>
<PublisherName />
<SupportUrl />
<FriendlyName>Walled Garden for Outlook</FriendlyName>
<OfficeApplicationDescription />
<LoadBehavior>16</LoadBehavior>
<LoadBehavior>3</LoadBehavior>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
Expand Down Expand Up @@ -116,10 +116,8 @@
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineConstants>VSTO40</DefineConstants>
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
</PropertyGroup>
<!--
This section specifies references for the project.
Expand Down Expand Up @@ -245,8 +243,8 @@
<VisualStudio>
<FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}">
<ProjectProperties HostName="Outlook" HostPackage="{29A7B9D7-A7F1-4328-8EF0-6B2D1A56B2C1}" OfficeVersion="15.0" VstxVersion="4.0" ApplicationType="Outlook" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\16.0\Outlook\InstallRoot\Path#outlook.exe" AddItemTemplatesGuid="{A58A78EB-1C92-4DDD-80CF-E8BD872ABFC4}" />
<Host Name="Outlook" GeneratedCodeNamespace="OutlookAddIn" PublishedHash="69C324AB27932AA2FBF2B7EA72250886FF164DE6" IconIndex="0">
<HostItem Name="ThisAddIn" Code="ThisAddIn.cs" CanonicalName="AddIn" PublishedHash="25EAB5BA3273B8E61FFF7FBEE4F844F4E0B75B2D" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.cs" />
<Host Name="Outlook" GeneratedCodeNamespace="OutlookAddIn" IconIndex="0">
<HostItem Name="ThisAddIn" Code="ThisAddIn.cs" CanonicalName="AddIn" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.cs" />
</Host>
</FlavorProperties>
</VisualStudio>
Expand Down
4 changes: 2 additions & 2 deletions Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using Microsoft.Office.Interop.Outlook;
using System;
using System.Windows.Forms;
using Recipient = Microsoft.Office.Interop.Outlook.Recipient;
using Outlook = Microsoft.Office.Interop.Outlook;

namespace OutlookAddIn
Expand Down

0 comments on commit fa0749e

Please sign in to comment.