1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3-
4- <PropertyGroup >
5- <PostBuildEventDependsOn >
6- $(PostBuildEventDependsOn);
7- NppPluginDllExport
8- </PostBuildEventDependsOn >
9- </PropertyGroup >
10-
11- <PropertyGroup >
12- <BuildDependsOn >
13- $(BuildDependsOn);
14- NppPluginDllExport
15- </BuildDependsOn >
16- </PropertyGroup >
17-
18- <UsingTask TaskName =" NppPlugin.DllExport.MSBuild.DllExportAppDomainIsolatedTask"
1+ <Project
2+ xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <UsingTask TaskName =" NppPlugin.DllExport.MSBuild.DllExportTask"
194 AssemblyFile =" NppPlugin.DllExport.MSBuild.dll" />
20-
21- <Target Name =" NppPluginDllExport"
22- DependsOnTargets =" GetFrameworkPaths" >
23-
24- <!--
25- These properties can still be applied to the task, but upon installation of a
26- new version of the nuget package, the properties
27- DllExportAttributeAssemblyName and DllExportAttributeAssemblyName will be removed from the project.
28- So, if you want to provide an alternative attribute name, the you have to name the property in your project file differently.
29-
30- e.g.:
31- DllExportAttributeAssemblyName="$(MyDllExportAttributeAssemblyName)"
32- DllExportAttributeFullName="$(MyDllExportAttributeFullName)"
33- -->
34- <PropertyGroup >
35- <DllExportLeaveIntermediateFiles Condition =" '$(DllExportLeaveIntermediateFiles)'==''" >
36- false
37- </DllExportLeaveIntermediateFiles >
38-
39-
40- </PropertyGroup >
41-
42- <DllExportAppDomainIsolatedTask Platform =" $(Platform)"
5+ <Target Name =" AfterBuild"
6+ DependsOnTargets =" GetFrameworkPaths"
7+ >
8+ <DllExportTask Platform =" $(Platform)"
439 PlatformTarget =" $(PlatformTarget)"
4410 CpuType =" $(CpuType)"
4511 EmitDebugSymbols =" $(DebugSymbols)"
46- LeaveIntermediateFiles =" $(DllExportLeaveIntermediateFiles)"
12+ DllExportAttributeAssemblyName =" $(DllExportAttributeAssemblyName)"
13+ DllExportAttributeFullName =" $(DllExportAttributeFullName)"
4714 Timeout =" $(DllExportTimeout)"
4815 KeyContainer =" $(KeyContainerName)$(AssemblyKeyContainerName)"
4916 KeyFile =" $(KeyOriginatorFile)"
5219 FrameworkPath =" $(TargetedFrameworkDir);$(TargetFrameworkDirectory)"
5320 LibToolPath =" $(DevEnvDir)\..\..\VC\bin"
5421 LibToolDllPath =" $(DevEnvDir)"
55- TargetFrameworkVersion =" $(TargetFrameworkVersion) "
56- SdkPath = " $(SDK40ToolsPath) "
57- SkipOnAnyCpu = " $(NoDllExportsForAnyCpu) " />
22+ SdkPath =" $(SDK40ToolsPath) " />
23+
24+ < Copy SourceFiles = " $(TargetPath) " DestinationFolder = " C:\Program Files (x86)\Notepad++\plugins\ " ContinueOnError = " false " />
5825 </Target >
59- </Project >
26+ </Project >
0 commit comments