[0.8 Preview] Building class library with XAML controls in Release config fails #923
Labels
area-Infrastructure
Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools)
bug
Something isn't working
Milestone
Describe the bug
This is a known issue that affects the 0.8 Preview. If you have a WinUI 3 class library that defines XAML controls and are using the 0.8 Preview, attempting to build your app in Release config will fail with the error seen below. The stable 0.5 release is not affected by this issue.
Workaround
Add
<GenerateLibraryLayout>true</GenerateLibraryLayout>
to your class library.We've fixed this with pull request #917 but there is not yet a new version available with this fix.
Steps to reproduce the bug
Expected behavior
App should build successfully.
Version Info
NuGet package version:
0.8.0-preview
The text was updated successfully, but these errors were encountered: