151 lines
7.4 KiB
XML
151 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">17.0</VisualStudioVersion>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
</PropertyGroup>
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{F0475AB7-87AA-4E6B-9BF9-1779AD59912E}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>BulkArchiveMailer.AddIn</RootNamespace>
|
|
<AssemblyName>BulkArchiveMailer.AddIn</AssemblyName>
|
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{BAA0C2D2-18E2-41B9-852F-F413020CAA33};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<LangVersion>7.3</LangVersion>
|
|
|
|
<!-- VSTO / Office add-in specifics -->
|
|
<OfficeApplication>Outlook</OfficeApplication>
|
|
<NoStandardLibraries>false</NoStandardLibraries>
|
|
<VstoAddInTemplateVersion>3</VstoAddInTemplateVersion>
|
|
<GenerateManifests>true</GenerateManifests>
|
|
<VSTOFrameworkVer40>true</VSTOFrameworkVer40>
|
|
|
|
<!--
|
|
Signing is deliberately OFF: this is an internal tool, sideloaded by
|
|
hand (see docs/BUILD.md) rather than published/ClickOnce/GPO
|
|
deployed, so there is no certificate to manage here. On first load
|
|
Outlook will show an "unable to verify publisher" style prompt for
|
|
the unsigned manifest - that's expected; docs/BUILD.md covers how to
|
|
either accept it or add a Trusted Location. Turning signing on for a
|
|
wider rollout is documented there as a follow-up, not implemented
|
|
here - a judgment call, since fabricating a certificate in an
|
|
environment with no Visual Studio/dotnet SDK to actually sign
|
|
anything would just be decoration.
|
|
-->
|
|
<SignAssembly>false</SignAssembly>
|
|
<SignManifests>false</SignManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
|
|
<!--
|
|
The Microsoft.Office.* / Microsoft.VisualStudio.Tools.Applications.*
|
|
references below are resolved from the GAC by the "Office/SharePoint
|
|
development" Visual Studio workload (Office Developer Tools + VSTO
|
|
Runtime), same as any project created from the built-in "Outlook VSTO
|
|
Add-in" template - no HintPath/NuGet package needed for them. If VS
|
|
reports these as missing, the workload component isn't installed
|
|
(see docs/BUILD.md).
|
|
-->
|
|
<Reference Include="Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
|
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
|
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="Microsoft.Office.Tools, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.Common.v4.0.Utilities, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.Outlook, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.v4.0.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.Tools.Applications.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BulkArchiveMailer.Core\BulkArchiveMailer.Core.csproj">
|
|
<Project>{96DFBF08-8BCA-4A4E-BDF8-3F013965E30E}</Project>
|
|
<Name>BulkArchiveMailer.Core</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Globals.cs" />
|
|
<Compile Include="MailSender.cs" />
|
|
<Compile Include="RibbonController.cs" />
|
|
<Compile Include="SignatureReader.cs" />
|
|
<Compile Include="ThisAddIn.cs" />
|
|
<Compile Include="ThisAddIn.Designer.cs">
|
|
<DependentUpon>ThisAddIn.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="UI\SettingsForm.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="UI\SettingsForm.Designer.cs">
|
|
<DependentUpon>SettingsForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="UI\PreviewForm.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="UI\PreviewForm.Designer.cs">
|
|
<DependentUpon>PreviewForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Ribbon.xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.config" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(VSToolsPath)\OfficeTools\Microsoft.VisualStudio.Tools.Office.targets" Condition="'$(VSToolsPath)' != ''" />
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\OfficeTools\Microsoft.VisualStudio.Tools.Office.targets" Condition="false" />
|
|
<!--
|
|
To modify your build process, add your task inside one of the targets
|
|
below and uncomment it. Other similar extension points exist, see
|
|
Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild"> </Target>
|
|
<Target Name="AfterBuild"> </Target>
|
|
-->
|
|
</Project>
|