Skip to content

Commit 52f1670

Browse files
Jen-Unoclaude
andcommitted
fix(brewhouse): remove Hot Design previews folder property
The HotDesignPreviewsFolder/HotDesignStoriesFolder PropertyGroup is not needed for previews to work: Hot Design discovers [Preview]/PreviewGroup types at runtime by assembly scan, and the Previews/ files compile via normal Uno globbing in Debug. The property's only effect was to make the SDK exclude the Previews/ folder from Release (Optimize=true) builds, where the Uno.UI.HotDesign package — and thus the hd:/[Preview] types — is excluded. Previews are a Debug / Hot Design concern here, so the property is dropped and the csproj returns to the template default. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f103fc8 commit 52f1670

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

studio/coffee-shop/BrewHouse/BrewHouse.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,6 @@
3535
</UnoFeatures>
3636
</PropertyGroup>
3737

38-
<!--
39-
Hot Design Previews live in Previews/. This pinned Uno SDK still sets the legacy
40-
HotDesignStoriesFolder property, which the Uno.UI.HotDesign package bridges to the newer
41-
HotDesignPreviewsFolder. Setting both to Previews makes the previews source generator scan the
42-
folder AND keeps the SDK's rule that excludes it from Release (Optimize=true) builds — where the
43-
Hot Design types are not referenced — so the previews compile only in Debug.
44-
-->
45-
<PropertyGroup>
46-
<HotDesignPreviewsFolder>Previews</HotDesignPreviewsFolder>
47-
<HotDesignStoriesFolder>Previews</HotDesignStoriesFolder>
48-
</PropertyGroup>
49-
5038
<!--
5139
App icon + splash screen via Uno.Resizetizer (all platforms). Required on Android:
5240
the generated manifest references @mipmap/icon, and Resources/values/Styles.xml

0 commit comments

Comments
 (0)