[Options] -fd, -FromDirectory directoryPath [Description] 
(Application manifests only) Populates the application manifest with descriptions of all assemblies and files found in directoryPath, where directoryPath is the directory containing the application you want to deploy. For each file in the directory, Mage.exe decides whether the file is an assembly or a static file. If it is an assembly, it adds a tag and installFrom attribute to the application with the assembly's name, code base, and version. If it is a static file, it adds a tag. Mage.exe will also use a simple set of heuristics to detect the main executable for the application, and will mark it as the ClickOnce application's entry point in the manifest. Mage.exe will never automatically mark a file as a "data" file; this must be done manually. For more information, see How to: Include a Data File in a ClickOnce Application. Mage.exe also generates a hash for each file based on its size. ClickOnce uses these hashes to ensure that no one has tampered with the deployment's files since the manifest was created. If any of the files in your deployment change, you can run Mage.exe with the –Update command and the –FromDirectory option, and it will update the hashes and assembly versions of all referenced files. -FromDirectory will include all files in all subdirectories found within directoryPath. If you use –FromDirectory with the –Update command, Mage.exe will remove any files in the application manifest that no longer exist in the directory.