Recently, we were contacted by a teacher who uses Real Studio in her classroom. Her students log into their computers with their network login IDs and connect to a student server where they save their work to a folder. However, her students found that after they ran their apps once, they were unable to do so again because the Application.Debug file that is created in their folder is continually in an opened state until the student logs out.
Normally when you run a project, it is created in the same folder as the project itself, which was the cause of this problem. This usually makes the most sense, but there are times when it makes sense to instead build your app elsewhere.
These are some additional reasons you might want to have this debug application in a different location:
- You keep your source code on Dropbox and don't want to have the debug builds automatically sync
- You don't want the debug builds cluttering up your source control folder
- You want to use a high-speed SSD for the debug build so that your projects build and launch faster
- Your projects reside on a shared network drive causing debug builds to be slow or files to remain locked
|Destination Property of App Class|
To choose an alternate path, click the "..." button on the right to get a Select Folder dialog. Choose the folder to use and click OK.
The next time you run your project, the debug application will be built in this location instead of alongside the project. Simply clear the property to have the builds again happen in the same folder as the project.