HelloNppPlugin.csproj 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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>{61839E29-4F66-4523-878E-A3BE7CF04E34}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>HelloNppPlugin</RootNamespace>
  11. <AssemblyName>HelloNppPlugin</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. </PropertyGroup>
  15. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  16. <DebugSymbols>true</DebugSymbols>
  17. <DebugType>full</DebugType>
  18. <Optimize>false</Optimize>
  19. <OutputPath>bin\Debug\</OutputPath>
  20. <DefineConstants>DEBUG;TRACE</DefineConstants>
  21. <ErrorReport>prompt</ErrorReport>
  22. <WarningLevel>4</WarningLevel>
  23. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <DebugType>pdbonly</DebugType>
  27. <Optimize>true</Optimize>
  28. <OutputPath>bin\Release\</OutputPath>
  29. <DefineConstants>TRACE</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  33. </PropertyGroup>
  34. <PropertyGroup>
  35. <DllExportIdent>842B266F-4FBF-40D0-8B1A-D8AA83357DE2</DllExportIdent>
  36. <DllExportMetaLibName>DllExport.dll</DllExportMetaLibName>
  37. <DllExportNamespace>System.Runtime.InteropServices</DllExportNamespace>
  38. <DllExportDDNSCecil>true</DllExportDDNSCecil>
  39. <DllExportSkipOnAnyCpu>false</DllExportSkipOnAnyCpu>
  40. <DllExportPlatform>Auto</DllExportPlatform>
  41. <DllExportOrdinalsBase>1</DllExportOrdinalsBase>
  42. <DllExportGenExpLib>false</DllExportGenExpLib>
  43. <DllExportOurILAsm>false</DllExportOurILAsm>
  44. <DllExportLeaveIntermediateFiles>false</DllExportLeaveIntermediateFiles>
  45. <DllExportTimeout>30000</DllExportTimeout>
  46. <DllExportPeCheck>2</DllExportPeCheck>
  47. </PropertyGroup>
  48. <ItemGroup>
  49. <Reference Include="DllExport, PublicKeyToken=8337224c9ad9e356">
  50. <HintPath>$(SolutionDir)packages\DllExport.1.6.2\gcache\metalib\$(DllExportNamespace)\$(DllExportMetaLibName)</HintPath>
  51. <Private>False</Private>
  52. <SpecificVersion>False</SpecificVersion>
  53. </Reference>
  54. <Reference Include="System" />
  55. <Reference Include="System.Core" />
  56. <Reference Include="System.Drawing" />
  57. <Reference Include="System.Windows.Forms" />
  58. <Reference Include="System.Xml.Linq" />
  59. <Reference Include="System.Data.DataSetExtensions" />
  60. <Reference Include="Microsoft.CSharp" />
  61. <Reference Include="System.Data" />
  62. <Reference Include="System.Net.Http" />
  63. <Reference Include="System.Xml" />
  64. </ItemGroup>
  65. <ItemGroup>
  66. <Compile Include="Main.cs" />
  67. <Compile Include="PluginInfrastructure\ClikeStringArray.cs" />
  68. <Compile Include="PluginInfrastructure\Docking_h.cs" />
  69. <Compile Include="PluginInfrastructure\GatewayDomain.cs" />
  70. <Compile Include="PluginInfrastructure\IScintillaGateway.cs" />
  71. <Compile Include="PluginInfrastructure\MenuCmdID_h.cs" />
  72. <Compile Include="PluginInfrastructure\Msgs_h.cs" />
  73. <Compile Include="PluginInfrastructure\NotepadPPGateway.cs" />
  74. <Compile Include="PluginInfrastructure\NppPluginNETBase.cs" />
  75. <Compile Include="PluginInfrastructure\NppPluginNETHelper.cs" />
  76. <Compile Include="PluginInfrastructure\Preference_h.cs" />
  77. <Compile Include="PluginInfrastructure\Resource_h.cs" />
  78. <Compile Include="PluginInfrastructure\ScintillaGateway.cs" />
  79. <Compile Include="PluginInfrastructure\Scintilla_iface.cs" />
  80. <Compile Include="PluginInfrastructure\UnmanagedExports.cs" />
  81. <Compile Include="PluginInfrastructure\Win32.cs" />
  82. <Compile Include="Properties\AssemblyInfo.cs" />
  83. </ItemGroup>
  84. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  85. <ImportGroup Label=".NET DllExport">
  86. <Import Project="$(SolutionDir)packages\DllExport.1.6.2\tools\net.r_eg.DllExport.targets" Condition="Exists($([MSBuild]::Escape('$(SolutionDir)packages\DllExport.1.6.2\tools\net.r_eg.DllExport.targets')))" Label="8337224c9ad9e356" />
  87. </ImportGroup>
  88. <Target Name="DllExportRestorePkg" BeforeTargets="PrepareForBuild">
  89. <Error Condition="!Exists('$(SolutionDir)DllExport.bat')" Text="DllExport.bat is not found. Path: '$(SolutionDir)' - https://github.com/3F/DllExport" />
  90. <Exec Condition="('$(DllExportModImported)' != 'true' Or !Exists('$(SolutionDir)packages\DllExport.1.6.2\tools\net.r_eg.DllExport.targets')) And Exists('$(SolutionDir)DllExport.bat')" Command="DllExport.bat -action Restore" WorkingDirectory="$(SolutionDir)" />
  91. </Target>
  92. <Target Name="DllExportRPkgDynamicImport" BeforeTargets="PostBuildEvent" DependsOnTargets="GetFrameworkPaths" Condition="'$(DllExportModImported)' != 'true' And '$(DllExportRPkgDyn)' != 'false'">
  93. <MSBuild BuildInParallel="true" UseResultsCache="true" Projects="$(MSBuildProjectFullPath)" Properties="DllExportRPkgDyn=true" Targets="Build" />
  94. </Target>
  95. </Project>