Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The application is missing required files

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?

like image 872
System.Windows.Form Avatar asked Jun 04 '13 09:06

System.Windows.Form


1 Answers

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.

like image 187
Freelancer Avatar answered Oct 24 '22 11:10

Freelancer