I'm trying to do a plugin for Keepass and am having difficulty with a namespace.
I've started a new plugin and copied printform.cs from Keepass into my plugin so I have a basis to get started.
When I do a build, I get this error:
'KeePass.Properties.Resources' does not contain a definition for 'B48x48_FilePrint' and when I click on the error I am taken here:
Properties.Resources.B48x48_FilePrint, strTitle, strDesc);
Where do I have to change it so that points to SamplePlugin.Properties.Resources and not Keepass.Properties.Resources??????
At the moment it appears to imply that properties is Keepass.properties but I need it to imply the properties of my plugin.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would simply replace all references to Properties.Resources by SamplePlugin.Properties.Resources.
Alternatively, add 'using SamplePlugin;' and make sure that the KeePass.Properties namespace is invisible; especially, make sure that your class is not within the KeePass namespace.
Best regards,
Dominik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to do a plugin for Keepass and am having difficulty with a namespace.
I've started a new plugin and copied printform.cs from Keepass into my plugin so I have a basis to get started.
When I do a build, I get this error:
'KeePass.Properties.Resources' does not contain a definition for 'B48x48_FilePrint' and when I click on the error I am taken here:
Properties.Resources.B48x48_FilePrint, strTitle, strDesc);
Where do I have to change it so that points to SamplePlugin.Properties.Resources and not Keepass.Properties.Resources??????
At the moment it appears to imply that properties is Keepass.properties but I need it to imply the properties of my plugin.
Thanks
I would simply replace all references to Properties.Resources by SamplePlugin.Properties.Resources.
Alternatively, add 'using SamplePlugin;' and make sure that the KeePass.Properties namespace is invisible; especially, make sure that your class is not within the KeePass namespace.
Best regards,
Dominik
Thanks for your reply.
Is there a reference guide for the API somewhere listing all the functions etc?
Thanks
There is no reference guide for the API. But the source code is available :-)
Best regards,
Dominik
Thanks Dominik, I wondered if that were the case but thought I'd ask just in case there was tucked away somewhere!!