question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot build release

See original GitHub issue

Describe 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

  1. create winui desktop project
  2. publish app package for Microsoft store
  3. got errors

Screenshots

image image image image image

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:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
huoyaoyuancommented, Sep 25, 2020

@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?

0reactions
anawishnoffcommented, Jan 29, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found