NotepadPlusPlusPluginPack.Net
NotepadPlusPlusPluginPack.Net copied to clipboard
MSBuild target path is incorrect for Notepad 8.2.x
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" />
Thanks for reporting. If you can, please submit a PR that fixes it:)