-
Notifications
You must be signed in to change notification settings - Fork 1
Setting Up the Development Environment
We're just going to assume you have access to some version of Visual Studio. Express Edition should be fine since this project doesn't take advantage of any fancy feature of Professional and Better.
KeePass 2.x is the target for the plug-in. This means you should have this executable laying around so we can reference it. The default reference is '../KeePass/KeePass.exe', in relation to the project directory. If you want to have it somewhere else, you can update the reference by first removing the KeePass reference under the project references and then re-add it using the location for where you have KeePass. Once that's done, everything should be good to build the actual DLL to make sure all the references are good.
PLGX is the file extension KeePass uses for it's plug-ins. KeePass is currently a little broken in reference to PLGX creation, so you will need to use a full path to the directory of the project without a trailing ''. It will automatically name the plgx file whatever the project directory is named and will put it in the parent directory. Once this is done, copy the plgx file next to KeePass.exe and give it a run.
I wasn't able to get this style of plug-in to work from a non-installed version of KeePass. To get around this, just build the DLL from the project and copy it alongside KeePass. It will load and run properly.