It only works during the build

Hello everybody.
I’m developing a component to import a point cloud on the server into Grasshopper, but I’ve run into a problem. Here’s the problem.

Components only work during the build.
Is this a bug?
Could someone tell me about this bug?

What’s the error message?

Thank you for your response.

That is
"The connection has been broken. An unexpected error occurred during transmission.”

Doesn’t sound like a very informative error message, but sadly since nobody but you know what your code and your server look like, you’ll need to dig into the documentation of the api you’re using to see how to troubleshoot the issue.

Maybe a dll is not getting copied to your release build? Maybe the wrong dll is copied? Maybe when running via the VS debugger your code runs on different privileges?