# Exporting Deletes Project Folder

**URL:** <http://forum.squareline.io/t/exporting-deletes-project-folder/6168>\
**Category:** Bugs\
**Created:** [October 20, 2025, 12:07am UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168 "2025-10-20T00:07:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojowantlucky](http://forum.squareline.io/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jojowantlucky](http://forum.squareline.io/u/jojowantlucky)\
**Post date:** [October 20, 2025, 12:07am UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168/1 "2025-10-20T00:07:27Z")

</div>

### What do you want to achieve?

Export my project via Export → Create Template Project.

I created the most basic project with not assets to test the export functionality. I’ve noticed that SquareLine deletes the folder I designate as the C Template Project Export Folder when I choose the folder for the UI files.

### What have you tried so far?

I created a new project using the following settings:  
Arduino Giga R1 wifi with Giga Display Shield  
LVGL Version: 8.3.11

### Screenshot or video

### Others

- **SquareLine Studio version:** 1.5.4
- **Operating system:** Mac OS Sequoia 15.6.1
- **Target hardware:** Arduino Giga R1 wifi with Giga Display Shield

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [October 21, 2025, 7:53am UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168/2 "2025-10-21T07:53:55Z")

</div>

Hi, This behavior is intentional and necessary for the export process.  
When you export the UI files, SquareLine Studio first cleans the target directory (e.g., the ui folder) before generating the new files. This synchronization is crucial. If you delete a screen or an asset inside the SquareLine Studio editor, this cleaning step ensures the corresponding (now unused) files are also removed from your exported project directory. This prevents old, stale code from causing conflicts in your project.

---

<div class="post-metadata">

**Author:** ![Rej](http://forum.squareline.io/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@Rej](http://forum.squareline.io/u/Rej)\
**Post date:** [April 4, 2026, 12:17pm UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168/3 "2026-04-04T12:17:46Z")

</div>

I would recommend to display a confirmation windows before the action, telling that the destination folder would be cleaned. So the user would know in advance… 😉

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [April 7, 2026, 7:05am UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168/4 "2026-04-07T07:05:50Z")

</div>

Hi, this is not entirely straightforward, because having to confirm this action before every single export could become frustrating over time.

One possible solution could be to show a confirmation dialog only on the first export, and then not show it again for subsequent exports. We are currently thinking about what the best approach would be here.

Thank you for the suggestion.

---

<div class="post-metadata">

**Author:** ![Rej](http://forum.squareline.io/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@Rej](http://forum.squareline.io/u/Rej)\
**Post date:** [April 7, 2026, 12:37pm UTC](http://forum.squareline.io/t/exporting-deletes-project-folder/6168/5 "2026-04-07T12:37:20Z")

</div>

You are right about the frustration !

Add a Tick Box for not showing the confirmation anymore… 😉
