This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Description
Current DestinationFolder on NppPlugin.DllExport.targets file for the project is either
$(MSBuildProgramFiles32)\Notepad++\plugins
or
$(ProgramW6432)\Notepad++\plugins\
But if you compile your plugin under this directories, Notepad++ won't recognize the installation anymore. You must specify a folder with your project name. I fixed the strings here, if you want to update the Git with it.
<Copy
SourceFiles="$(TargetPath)"
DestinationFolder="$(MSBuildProgramFiles32)\Notepad++\plugins\$(MSBuildProjectName)\"
Condition="Exists('$(MSBuildProgramFiles32)\Notepad++\plugins\') AND '$(Platform)'=='x86'"
ContinueOnError="false" />
<Copy
SourceFiles="$(TargetPath)"
DestinationFolder="$(ProgramW6432)\Notepad++\plugins\$(MSBuildProjectName)\"
Condition="Exists('$(ProgramW6432)\Notepad++\plugins\') AND '$(Platform)'=='x64'"
ContinueOnError="false" />