|
261 | 261 | </Target> |
262 | 262 | --> |
263 | 263 | <Target Name="AfterBuild"> |
| 264 | + <DllExportTask Platform="$(Platform)" |
| 265 | + PlatformTarget="$(PlatformTarget)" |
| 266 | + CpuType="$(CpuType)" |
| 267 | + EmitDebugSymbols="$(DebugSymbols)" |
| 268 | + DllExportAttributeAssemblyName="$(DllExportAttributeAssemblyName)" |
| 269 | + DllExportAttributeFullName="$(DllExportAttributeFullName)" |
| 270 | + Timeout="$(DllExportTimeout)" |
| 271 | + KeyContainer="$(KeyContainerName)$(AssemblyKeyContainerName)" |
| 272 | + KeyFile="$(KeyOriginatorFile)" |
| 273 | + ProjectDirectory="$(MSBuildProjectDirectory)" |
| 274 | + InputFileName="$(TargetPath)" |
| 275 | + FrameworkPath="$(TargetedFrameworkDir);$(TargetFrameworkDirectory)" |
| 276 | + LibToolPath="$(DevEnvDir)\..\..\VC\bin" |
| 277 | + LibToolDllPath="$(DevEnvDir)" |
| 278 | + SdkPath="$(SDK40ToolsPath)"/> |
| 279 | + |
| 280 | + <Copy Condition="Exists('C:\Program Files (x86)\Notepad++\plugins\') AND '$(PlatformTarget)'=='x86'" |
| 281 | + SourceFiles="$(TargetPath)" |
| 282 | + DestinationFolder="C:\Program Files (x86)\Notepad++\plugins\" |
| 283 | + ContinueOnError="false" /> |
| 284 | + <Copy Condition="Exists('C:\Program Files\Notepad++\plugins\') AND '$(PlatformTarget)'=='x64'" |
| 285 | + SourceFiles="$(TargetPath)" |
| 286 | + DestinationFolder="C:\Program Files\Notepad++\plugins\" |
| 287 | + ContinueOnError="false" /> |
| 288 | + |
264 | 289 | <!-- Get the current Major.Minor.Build version from the assembly --> |
265 | 290 | <PropertyGroup> |
266 | 291 | <In>$([System.IO.File]::ReadAllText('Properties\AssemblyInfo.cs'))</In> |
|
0 commit comments