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

Update to WinAppSDK 1.2 and WinUIEx 2.0 #4611

Closed
1 of 3 tasks
mikebattista opened this issue Dec 8, 2022 · 6 comments
Closed
1 of 3 tasks

Update to WinAppSDK 1.2 and WinUIEx 2.0 #4611

mikebattista opened this issue Dec 8, 2022 · 6 comments
Assignees
Labels
bug The issue relates to the wizard not working or a problem with the generated code.

Comments

@mikebattista
Copy link
Collaborator

Describe the bug

Update to the latest releases.

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Additional context

No response

Applies to the following platforms:

  • WinUI
  • WPF
  • UWP

About your setup

  • Visual Studio Version:
  • Template Studio Wizard Version:
  • Windows Build:
@mikebattista mikebattista added the bug The issue relates to the wizard not working or a problem with the generated code. label Dec 8, 2022
@mikebattista mikebattista self-assigned this Dec 8, 2022
@mikebattista mikebattista reopened this Jan 3, 2023
@mikebattista
Copy link
Collaborator Author

WinUIEx 2.0 has a bug that causes unpackaged apps to crash when using PersistenceId. Need to update to a newer version with the fix when it's ready.

@SoftEntwickler
Copy link

Even WinUIEx 2.1 does not work in unpackaged(None) apps.
As I can see WinUIEx uses Windows.Storage.ApplicationData.Current.LocalSettings for saving and loading window size and position. But unpackaged apps can't use Windows.Storage.ApplicationData.Current.LocalSettings.

@mikebattista
Copy link
Collaborator Author

@dotMorten is that true?

@dotMorten
Copy link

No, see dotMorten/WinUIEx#95 (comment)

@SoftEntwickler
Copy link

SoftEntwickler commented Jan 11, 2023

Then the TemplateStudio needs to be updated to use WinUIEx.WindowManager.PersistenceStorage, right?

@dotMorten
Copy link

@SoftEntwickler yes. This feature was specifically added last week by request of template studio - give them a chance to catch up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue relates to the wizard not working or a problem with the generated code.
Projects
None yet
Development

No branches or pull requests

3 participants