How to debug Event server 2025.3 plugin with VS2019

Hi,

I’m using Milestone version 2025 R3 x64.

I’m trying to debug my event server plugin with vs2019 without success !

To ensure that the plugin is always the correct version in ‘MIPPlugins’ folder, I added a Post-build event command in the project properties and copy works fine.

In the debug properties, I requested the launch of: C:\Program Files\Milestone\XProtect Event Server\VideoOS.Event.Server.exe -x

First, I make sure that the service is stopped, and then, when I run my plugin, the event server launches correctly in windowed mode.

Next, I launch XProtect Management Client.
When I try to add my plugin in the “Access Control/Systems” section, I get the following error message:

Create Access Control System Integration
No access control plug-ins are available. Verify that plug-ins are installed on the event server and that the Event Server service is running.

In addition, I also have a warning about breakpoints in my source code that says:

The breakpoint will not currently be hit. No symbols have been loaded for this document.

Could you help me?

What you describe sounds correct. Like you are correctly following these instructions.

Did you also copy the .def file? Please double check. Then verify that the plug–in is loaded by inspecting the log.

Try also the alternative approach where you deploy the plugin, start the Event Server and then debug using attach to process.

.def file is ok, so I tried the second method and it works perfectly.

Thank you for your help.