Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP flavour hangs visual studio for a long time, doesn't run #2

Open
MitchBomcanhao opened this issue Apr 30, 2020 · 1 comment
Open

Comments

@MitchBomcanhao
Copy link

Hi David, I'm trying to run the UWP version of this app but hitting some issues

Cloning the project takes a really long time with visual studio hanging for a considerable amount of time. once the UI is back on, I can try to build it. again it may take a while.
I've spotted that it seems to be generating different sizes of the beach images, on a folder called resizetizer. it literally takes several minutes to do so, and I think it never actually completes the set, as there are 10 source images, it makes 3 sizes for each one, but the largest size of the largest image (beach_10) never shows up on the folder.

If it completes building and attempts to run, it will then crash on launch

The class, property, or method you are attempting to use ('VerifyShellUWPFlagEnabled') is part of Shell; to use it, you must opt-in by calling Forms.SetFlags("Shell_UWP_Experimental") before calling Forms.Init().
that flag is indeed set in app.xaml.cs, so the error is very odd.

Does the app actually run for you? do all the images get generated in folders like FlyMe.UWP\obj\x86\Debug\resizetizer\Assets?

@MitchBomcanhao
Copy link
Author

I've managed to get it to run by setting the Shell_UWP_Experimental flag in the app class instead of doing it in the UWP project. Seems like setting the platform specific flag gets deleted and overwritten by the app class flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant