NppChnConvPlugin.csproj 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{4A0D912B-8BC8-4F80-9A5C-682B4E0B9E91}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>NppChnConvPlugin</RootNamespace>
  11. <AssemblyName>NppChnConvPlugin</AssemblyName>
  12. <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <DebugSymbols>true</DebugSymbols>
  18. <DebugType>full</DebugType>
  19. <Optimize>false</Optimize>
  20. <OutputPath>bin\Debug\</OutputPath>
  21. <DefineConstants>DEBUG;TRACE</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  25. <PlatformTarget>x64</PlatformTarget>
  26. </PropertyGroup>
  27. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  28. <DebugType>pdbonly</DebugType>
  29. <Optimize>true</Optimize>
  30. <OutputPath>bin\Release\</OutputPath>
  31. <DefineConstants>TRACE</DefineConstants>
  32. <ErrorReport>prompt</ErrorReport>
  33. <WarningLevel>4</WarningLevel>
  34. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  35. <PlatformTarget>x64</PlatformTarget>
  36. </PropertyGroup>
  37. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  38. <DebugSymbols>true</DebugSymbols>
  39. <OutputPath>bin\x64\Debug\</OutputPath>
  40. <DefineConstants>DEBUG;TRACE</DefineConstants>
  41. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  42. <DebugType>full</DebugType>
  43. <PlatformTarget>x64</PlatformTarget>
  44. <LangVersion>7.3</LangVersion>
  45. <ErrorReport>prompt</ErrorReport>
  46. </PropertyGroup>
  47. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  48. <OutputPath>bin\x64\Release\</OutputPath>
  49. <DefineConstants>TRACE</DefineConstants>
  50. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  51. <Optimize>true</Optimize>
  52. <DebugType>pdbonly</DebugType>
  53. <PlatformTarget>x64</PlatformTarget>
  54. <LangVersion>7.3</LangVersion>
  55. <ErrorReport>prompt</ErrorReport>
  56. </PropertyGroup>
  57. <PropertyGroup>
  58. <DllExportIdent>126A758D-E3AD-4DA4-A12D-4D34E03CC040</DllExportIdent>
  59. <DllExportMetaLibName>DllExport.dll</DllExportMetaLibName>
  60. <DllExportNamespace>NppChnConvPlugin</DllExportNamespace>
  61. <DllExportDDNSCecil>true</DllExportDDNSCecil>
  62. <DllExportSkipOnAnyCpu>false</DllExportSkipOnAnyCpu>
  63. <DllExportPlatform>Auto</DllExportPlatform>
  64. <DllExportOrdinalsBase>1</DllExportOrdinalsBase>
  65. <DllExportGenExpLib>false</DllExportGenExpLib>
  66. <DllExportOurILAsm>false</DllExportOurILAsm>
  67. <DllExportSysObjRebase>false</DllExportSysObjRebase>
  68. <DllExportLeaveIntermediateFiles>false</DllExportLeaveIntermediateFiles>
  69. <DllExportTimeout>30000</DllExportTimeout>
  70. <DllExportPeCheck>2</DllExportPeCheck>
  71. <DllExportPatches>0</DllExportPatches>
  72. <DllExportPreProcType>0</DllExportPreProcType>
  73. <DllExportPostProcType>0</DllExportPostProcType>
  74. </PropertyGroup>
  75. <ItemGroup>
  76. <Reference Include="System" />
  77. <Reference Include="System.Core" />
  78. <Reference Include="System.Drawing" />
  79. <Reference Include="System.Windows.Forms" />
  80. <Reference Include="System.Xml.Linq" />
  81. <Reference Include="System.Data.DataSetExtensions" />
  82. <Reference Include="Microsoft.CSharp" />
  83. <Reference Include="System.Data" />
  84. <Reference Include="System.Net.Http" />
  85. <Reference Include="System.Xml" />
  86. </ItemGroup>
  87. <ItemGroup>
  88. <Compile Include="AnyCpuBridgeMain.cs" />
  89. <Compile Include="AssemblyResolveInMyAround.cs" />
  90. <Compile Include="ManagedExportsBridge.cs" />
  91. <Compile Include="NppPluginInfrastructure\ClikeStringArray.cs" />
  92. <Compile Include="NppPluginInfrastructure\Docking_h.cs" />
  93. <Compile Include="NppPluginInfrastructure\GatewayDomain.cs" />
  94. <Compile Include="NppPluginInfrastructure\IScintillaGateway.cs" />
  95. <Compile Include="NppPluginInfrastructure\MenuCmdID_h.cs" />
  96. <Compile Include="NppPluginInfrastructure\Msgs_h.cs" />
  97. <Compile Include="NppPluginInfrastructure\NotepadPPGateway.cs" />
  98. <Compile Include="NppPluginInfrastructure\NppPluginNETBase.cs" />
  99. <Compile Include="NppPluginInfrastructure\NppPluginNETHelper.cs" />
  100. <Compile Include="NppPluginInfrastructure\Preference_h.cs" />
  101. <Compile Include="NppPluginInfrastructure\Resource_h.cs" />
  102. <Compile Include="NppPluginInfrastructure\ScintillaGateway.cs" />
  103. <Compile Include="NppPluginInfrastructure\Scintilla_iface.cs" />
  104. <Compile Include="NppPluginInfrastructure\Win32.cs" />
  105. <Compile Include="PluginBridge.cs" />
  106. <Compile Include="Properties\AssemblyInfo.cs" />
  107. <Compile Include="Properties\Resources.Designer.cs">
  108. <AutoGen>True</AutoGen>
  109. <DesignTime>True</DesignTime>
  110. <DependentUpon>Resources.resx</DependentUpon>
  111. </Compile>
  112. <Compile Include="UnmanagedExportsStubsToBridge.cs" />
  113. </ItemGroup>
  114. <ItemGroup>
  115. <PackageReference Include="CHTCHSConv">
  116. <Version>1.0.0</Version>
  117. </PackageReference>
  118. <PackageReference Include="DllExport">
  119. <Version>1.7.4</Version>
  120. <Visible>false</Visible>
  121. <Wz>1</Wz>
  122. </PackageReference>
  123. <PackageReference Include="ilmerge">
  124. <Version>3.0.29</Version>
  125. </PackageReference>
  126. </ItemGroup>
  127. <ItemGroup>
  128. <Content Include="Resources\Bitmap1.bmp" />
  129. <Content Include="Resources\Bitmap2.bmp" />
  130. </ItemGroup>
  131. <ItemGroup>
  132. <EmbeddedResource Include="Properties\Resources.resx">
  133. <Generator>ResXFileCodeGenerator</Generator>
  134. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  135. </EmbeddedResource>
  136. </ItemGroup>
  137. <ItemGroup />
  138. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  139. <ImportGroup Label=".NET DllExport">
  140. <Import Project="$(SolutionDir)packages\DllExport.1.7.4\tools\net.r_eg.DllExport.targets" Condition="Exists($([MSBuild]::Escape('$(SolutionDir)packages\DllExport.1.7.4\tools\net.r_eg.DllExport.targets')))" Label="8337224c9ad9e356" />
  141. </ImportGroup>
  142. <Target Name="DllExportRestorePkg" BeforeTargets="PrepareForBuild">
  143. <Error Condition="!Exists('$(SolutionDir)DllExport.bat')" Text="DllExport.bat is not found. Path: '$(SolutionDir)' - https://github.com/3F/DllExport" />
  144. <Exec Condition="('$(DllExportModImported)' != 'true' Or !Exists('$(SolutionDir)packages\DllExport.1.7.4\tools\net.r_eg.DllExport.targets')) And Exists('$(SolutionDir)DllExport.bat')" Command=".\DllExport.bat -action Restore" WorkingDirectory="$(SolutionDir)" />
  145. <MSBuild Condition="'$(DllExportModImported)' != 'true'" Projects="$(SolutionDir)packages\DllExport.1.7.4\tools\net.r_eg.DllExport.targets" Targets="DllExportMetaXBaseTarget" Properties="TargetFramework=$(TargetFramework)">
  146. <Output TaskParameter="TargetOutputs" PropertyName="DllExportMetaXBase" />
  147. </MSBuild>
  148. <ItemGroup>
  149. <Reference Include="DllExport, PublicKeyToken=8337224c9ad9e356">
  150. <HintPath>$(SolutionDir)packages\DllExport.1.7.4\gcache\$(DllExportMetaXBase)\$(DllExportNamespace)\$(DllExportMetaLibName)</HintPath>
  151. <Private>False</Private>
  152. <SpecificVersion>False</SpecificVersion>
  153. </Reference>
  154. </ItemGroup>
  155. </Target>
  156. <Target Name="DllExportRPkgDynamicImport" BeforeTargets="PostBuildEvent" DependsOnTargets="GetFrameworkPaths" Condition="'$(DllExportModImported)' != 'true' And '$(DllExportRPkgDyn)' != 'false'">
  157. <MSBuild BuildInParallel="true" UseResultsCache="true" Projects="$(MSBuildProjectFullPath)" Properties="DllExportRPkgDyn=true" Targets="Build" />
  158. </Target>
  159. </Project>