294 lines
13 KiB
XML
294 lines
13 KiB
XML
<Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<!--
|
|
This section defines project-level properties.
|
|
|
|
AssemblyName
|
|
Name of the output assembly.
|
|
Configuration
|
|
Specifies a default value for debug.
|
|
OutputType
|
|
Must be "Library" for VSTO.
|
|
Platform
|
|
Specifies what CPU the output of this project can run on.
|
|
NoStandardLibraries
|
|
Set to "false" for VSTO.
|
|
RootNamespace
|
|
In C#, this specifies the namespace given to new files. In VB, all objects are
|
|
wrapped in this namespace at runtime.
|
|
-->
|
|
<PropertyGroup>
|
|
<ProjectTypeGuids>{BAA0C2D2-18E2-41B9-852F-F413020CAA33};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{8116F31D-7220-4519-8648-93546FA7259C}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>W2PAddIn</RootNamespace>
|
|
<AssemblyName>W2PAddIn</AssemblyName>
|
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
<DefineConstants>VSTO40</DefineConstants>
|
|
<StartupObject>
|
|
</StartupObject>
|
|
<IsWebBootstrapper>False</IsWebBootstrapper>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<InstallUrl />
|
|
<TargetCulture>en</TargetCulture>
|
|
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
|
<AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision>
|
|
<UpdateEnabled>true</UpdateEnabled>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>days</UpdateIntervalUnits>
|
|
<ProductName>W2PAddIn</ProductName>
|
|
<PublisherName />
|
|
<SupportUrl />
|
|
<FriendlyName>W2PAddIn</FriendlyName>
|
|
<OfficeApplicationDescription />
|
|
<LoadBehavior>3</LoadBehavior>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.VSTORuntime.4.0">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft Visual Studio 2010 Tools for Office Runtime %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<!--
|
|
OfficeApplication
|
|
Add-in host application
|
|
-->
|
|
<OfficeApplication>Word</OfficeApplication>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionInfer>On</OptionInfer>
|
|
</PropertyGroup>
|
|
<!--
|
|
This section defines properties that are set when the "Debug" configuration is selected.
|
|
|
|
DebugSymbols
|
|
If "true", create symbols (.pdb). If "false", do not create symbols.
|
|
DefineConstants
|
|
Constants defined for the preprocessor.
|
|
EnableUnmanagedDebugging
|
|
If "true", starting the debugger will attach both managed and unmanaged debuggers.
|
|
Optimize
|
|
If "true", optimize the build output. If "false", do not optimize.
|
|
OutputPath
|
|
Output path of project relative to the project file.
|
|
WarningLevel
|
|
Warning level for the compiler.
|
|
-->
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DefineConstants>$(DefineConstants)</DefineConstants>
|
|
<DefineDebug>true</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<DebugType>full</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DocumentationFile>W2PAddIn.xml</DocumentationFile>
|
|
<RegisterForComInterop>false</RegisterForComInterop>
|
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<!--
|
|
This section defines properties that are set when the "Release" configuration is selected.
|
|
|
|
DebugSymbols
|
|
If "true", create symbols (.pdb). If "false", do not create symbols.
|
|
DefineConstants
|
|
Constants defined for the preprocessor.
|
|
EnableUnmanagedDebugging
|
|
If "true", starting the debugger will attach both managed and unmanaged debuggers.
|
|
Optimize
|
|
If "true", optimize the build output. If "false", do not optimize.
|
|
OutputPath
|
|
Output path of project relative to the project file.
|
|
WarningLevel
|
|
Warning level for the compiler.
|
|
-->
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DefineConstants>
|
|
</DefineConstants>
|
|
<DefineDebug>false</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DocumentationFile>W2PAddIn.xml</DocumentationFile>
|
|
<RegisterForComInterop>false</RegisterForComInterop>
|
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<!--
|
|
This section specifies references for the project.
|
|
-->
|
|
<ItemGroup>
|
|
<Reference Include="Accessibility" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.Office.Tools.v4.0.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.Tools.Applications.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Tools.Word, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.Office.Tools.Common.v4.0.Utilities, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<Private>True</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
|
|
<Private>False</Private>
|
|
<EmbedInteropTypes>true</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
|
|
<Private>False</Private>
|
|
<EmbedInteropTypes>true</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<!-- Visual Basic supports importing namespaces (equivalent to "using" statements in C#). -->
|
|
<ItemGroup>
|
|
<Import Include="Microsoft.VisualBasic" />
|
|
<Import Include="System" />
|
|
<Import Include="System.Collections.Generic" />
|
|
<Import Include="System.Linq" />
|
|
<Import Include="System.Text" />
|
|
<Import Include="System.Xml.Linq" />
|
|
<Import Include="Office = Microsoft.Office.Core" />
|
|
<Import Include="Word = Microsoft.Office.Interop.Word" />
|
|
<Import Include="Microsoft.Office.Tools.Word" />
|
|
</ItemGroup>
|
|
<!--
|
|
This section defines the user source files that are part of the project.
|
|
|
|
A "Compile" element specifies a source file to compile.
|
|
An "EmbeddedResource" element specifies an .resx file for embedded resources.
|
|
A "None" element specifies a file that is not to be passed to the compiler (for instance,
|
|
a text file or XML file).
|
|
The "AppDesigner" element specifies the directory where the application properties files
|
|
can be found.
|
|
-->
|
|
<ItemGroup>
|
|
<AppDesigner Include="My Project\" />
|
|
<Compile Include="Cmt.vb" />
|
|
<Compile Include="Tools.vb" />
|
|
<Compile Include="Setup.vb" />
|
|
<Compile Include="Ribbon1.vb" />
|
|
<Compile Include="ThisAddIn.vb">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<None Include="ThisAddIn.Designer.xml">
|
|
<DependentUpon>ThisAddIn.vb</DependentUpon>
|
|
</None>
|
|
<Compile Include="ThisAddIn.Designer.vb">
|
|
<DependentUpon>ThisAddIn.Designer.xml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
|
<EmbeddedResource Include="My Project\Resources.resx">
|
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<Compile Include="My Project\Resources.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<None Include="My Project\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
|
</None>
|
|
<Compile Include="My Project\Settings.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
<None Include="W2PAddIn_TemporaryKey.pfx" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Ribbon1.xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<COMReference Include="MSXML2">
|
|
<Guid>{F5078F18-C551-11D3-89B9-0000F81FE221}</Guid>
|
|
<VersionMajor>6</VersionMajor>
|
|
<VersionMinor>0</VersionMinor>
|
|
<Lcid>0</Lcid>
|
|
<WrapperTool>tlbimp</WrapperTool>
|
|
<Isolated>False</Isolated>
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</COMReference>
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionExplicit>On</OptionExplicit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionCompare>Binary</OptionCompare>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionStrict>Off</OptionStrict>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignManifests>true</SignManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestKeyFile>W2PAddIn_TemporaryKey.pfx</ManifestKeyFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestCertificateThumbprint>F465CB637D617137E692F112047E506C182EFF5E</ManifestCertificateThumbprint>
|
|
</PropertyGroup>
|
|
<!-- Include the build rules for a Visual Basic project. -->
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
|
<!-- Include additional build rules for an Office application add-in. -->
|
|
<Import Project="$(VSToolsPath)\OfficeTools\Microsoft.VisualStudio.Tools.Office.targets" Condition="'$(VSToolsPath)' != ''" />
|
|
<!-- This section defines VSTO properties that describe the host-changeable project properties. -->
|
|
<ProjectExtensions>
|
|
<VisualStudio>
|
|
<FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}">
|
|
<ProjectProperties HostName="Word" HostPackage="{29A7B9D7-A7F1-4328-8EF0-6B2D1A56B2C1}" OfficeVersion="15.0" VstxVersion="4.0" ApplicationType="Word" Language="vb" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\16.0\Word\InstallRoot\Path#WINWORD.EXE" DebugInfoCommandLine="/x" AddItemTemplatesGuid="{DCFE8D25-4715-4C33-9EAB-A34A9EBC9544}" />
|
|
<Host Name="Word" IconIndex="0">
|
|
<HostItem Name="ThisAddIn" Code="ThisAddIn.vb" CanonicalName="AddIn" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.vb" />
|
|
</Host>
|
|
</FlavorProperties>
|
|
</VisualStudio>
|
|
</ProjectExtensions>
|
|
</Project> |