Hi Tamim,
If you have the entire project, the preferred way is to use MSBuild the build and publish the project.
If you only have the executable as well as referenced assemblies, you can onlyuse the Mage/MageUI to create the deployment and application manifests forthe application andcopy the generated manifests as well as executable and assemblies to the publish location you like manually.
Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.