How to debug a DLL plugin for Notepad ++?

I am trying to write a plugin for Notepad ++ using Visual Studio Community 2013

The dll builds fine from the solution, and if I copy it to the notepad ++ / plugins directory, I can test the functionality. However, now I want to debug it, and I cannot start the debugger. I tried following the paint.net guide , but I still get the error message

Unable to start program .....dll

In my project properties in configuration properties - Debugging I have the following set:

Command = C:\tools\Notepad++\notepad++.exe
Working Directory = C:\tools\Notepad++

Configuration Properties - Build Events - Event After Build I have:

Command Line = copy "$(TargetPath)" "C:\tools\Notepad++\plugins"

Note. The path is located outside the program files to avoid problems with the UAC when copying.

What other options can cause this problem?

+4
source share
2

, .

sln vcxproj . , All Configurations, .

+1

, DLL, , , ++ .

+3

All Articles