I created a C# application in Visual studio 2010 with C#. It is using some other DLL files. When I publish it using Build->Publish the Setup.exe file generated.
When I run this setup in another machine I get the error "Required Files Missing.". I tried this, but it did not take out issues.
This also did not help because inside New Project->Other Project Types->Setup and Deployment
, Setup Project
is not there. It is empty.
How can I solve this?
When you run set up in another machine, publish folder of the application is needed to be present in that machine in the correct location.
In your case publish folder is not present.
Hence this kind of error is comming.
Paste publish folder from your machine where program is running sucessfully to another machine where you want to install the application.
Then, run the setup file, within that publish folder.
Then only you will overcome from this problem.
Publish folder contains all the necessary dlls and files, that application needs to run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With