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

MSBuild target path is incorrect for Notepad 8.2.x #85

@Leonard-The-Wise

Description

@Leonard-The-Wise

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" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions