I have made a WinForms application that uses DevExpress (trial) but some of my friends can open it but some others can't. You can find the source here: https://github.com/JujharSingh/Exploit-Studio I have also made sure that I didn't delete any DLL files while packaging.
Make sure you right click on all the required files in solution explorer and include them so when you publish your project, they're deployed with the project.
Also make sure you've the following option configured correctly:
You wouldn't have to worry about .Net framework version as the published setup automatically installs missing .Net files.
Finally, goto your project Properties -> Publish -> Application Files and mark the required files as required and include them:
And on the same page, tick the required prerequisites:
Finally, make sure you're giving them the published version, not the copied executable file. Hope this helps