WinForms Application not opening on other computers

2.3k Views Asked by At

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.

2

There are 2 best solutions below

4
On BEST ANSWER

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

0
On

Make sure that your network path to the database is correct in the new computer.