How to precompile a company app using MDILXAPCompile for Windows Phone

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

**/Timeout:**Timeout

Optional. The number of milliseconds before the tool automatically stops the compile process. This value overrides the default time-out value in the configuration file. Specify -1 to specify no time limit.

**/Log:**LogPath

Optional. The full path to the log file to capture output from the MDILXAPCompile tool.

Copy the compiled assemblies back into the folder where you extracted the contents of the XAP file earlier. Create a ZIP package that contains the compiled assemblies and any other files from the original XAP file. Then change the file name extension of the ZIP package to .xap.