Search code examples
c#winformsdevexpress-windows-ui

WinForms Application not opening on other computers


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.


Solution

  • 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. enter image description here

    Also make sure you've the following option configured correctly: enter image description here

    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:

    enter image description here

    And on the same page, tick the required prerequisites: enter image description here

    Finally, make sure you're giving them the published version, not the copied executable file. Hope this helps