Cannot build release
See original GitHub issueDescribe the bug
got errors when create app package . please fix it as soon as possible, I plan to publish my winui app to the store
Steps to reproduce the bug
- create winui desktop project
- publish app package for Microsoft store
- got errors
Screenshots
Version Info
NuGet package version:
Windows app type:
UWP | Win32 |
---|---|
Yes |
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2020 Update (19041) | |
November 2019 Update (18363) | Yes |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | |
Surface Hub | |
IoT |
Additional context
Severity Code Description Project File Line Suppression State
Error Payload file 'D:\.nuget\packages\microsoft.winui\3.0.0-preview2.200713.0\runtimes\win10-x86\native\Microsoft.UI.Xaml\Themes\themeresources.xaml' does not exist. App2 (Package) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 3036
Error Payload file 'D:\.nuget\packages\microsoft.winui\3.0.0-preview2.200713.0\runtimes\win10-x86\native\Microsoft.UI.Xaml\DensityStyles\CompactDatePickerTimePickerFlyout.xaml' does not exist. App2 (Package) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 3036
Error Payload file 'D:\.nuget\packages\microsoft.winui\3.0.0-preview2.200713.0\runtimes\win10-x86\native\Microsoft.UI.Xaml\Themes\compact_themeresources.xaml' does not exist. App2 (Package) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 3036
Error Payload file 'D:\.nuget\packages\microsoft.winui\3.0.0-preview2.200713.0\runtimes\win10-x86\native\Microsoft.UI.Xaml\DensityStyles\Compact.xaml' does not exist. App2 (Package) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 3036
Error Payload file 'D:\.nuget\packages\microsoft.winui\3.0.0-preview2.200713.0\runtimes\win10-x86\native\Microsoft.UI.Xaml\Themes\generic.xaml' does not exist. App2 (Package) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 3036
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Can't build in release mode, only debug mode
I've got a weird issue with Visual Studio 2019. For some reason building my app in Release mode doesn't work. It shortly shows...
Read more >cannot build in release only in debug
I have a project built in VS 2013, for some reason I cannot build in release mode only debug mode. If I build...
Read more >Prepare your app for release | Android Studio
Learn how to build a signed, release-ready APK. This process is the same for all Android apps.
Read more >Can't build android app in release mode and there is no ...
I am trying to build my android app fo release mode. I can't do so because of firebase dynamic links plugin. I get...
Read more >Build your app from the command line | Android Studio
Find out how you can execute all the build tasks available to your Android project using the Gradle wrapper command line tool.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stevenbrix I can build in Release mode, but cannot run it. Got error 0xC000027B. Is this a separated issue, or a different symptom of the same issue?
This was fixed in WinUI 3 Preview 3, so I’m going to go ahead and close this issue. Feel free to re-open and let us know if the issue still persists.