Repository navigation
Cannot create package to windows store when using ImageEx #3989
Replies: 8 comments
|
@droprose1 can you provide your ImageEx definition that's in code-behind or XAML as well? What version of VS and Windows are you using too? |
|
XAML: Code: I use VS Professional 2019 version 16.3.6 Note: |
|
Thanks for the extra details @droprose1. Is this only when you create a package for publishing or if you try and run in Release mode does it occur as well? If it occurs while trying to build/run in release mode, what happens if you turn off the .NET Native compilation step in the build settings for release? Does it work then? That might help us narrow down where the problem is. |
|
This problem occurs when you want to publish an application to Windows Store (for x64 and arm versions). If create sideloading apps the application can run smoothly. I have tried run in release mode for x64 and turn off the .NET Native compilation, the application can run smoothly. Note: |
|
But after the application is closed, an error message appears: The name 'coverDetail' does not exist in the current context and when I run the application again, the application cannot run and the error message appears. Note: |
|
Thanks @droprose1 for the additional info, it sounds like .NET Native isn't involved then. Where is this error message displaying? Is it in the output window it it coming from partner center when you're trying to upload the package. I'm a bit confused on that part. Could you share a screenshot of the error message itself to provide a bit more context from that side? Thanks! |
|
An error message appears on the output and I cannot create the app package to the windows store (build package failed) when the create app bundle for x86, x64 and arm device, but if I create an app package to the windows store for x86 device only, it works |
|
@Kyaa-dost let's see if we can repro this at all tomorrow during our bug-bash with a new project using the ImageEx control. |
Uh oh!
There was an error while loading. Please reload this page.
I use the Microsoft.Toolkit.Uwp.UI.Controls reference to use ImageEx with the name 'coverDetail'. I'm having a problem, i.e failed to create an app package to the windows store with an error message: The name 'coverDetail' does not exist in the current context for the x64 package. If you only run the application and build package, there are no problems and can run smoothly
Code:
coverDetail.Source = new BitmapImage(new Uri(kelas.Cover, UriKind.Absolute));All reactions