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

WindowsCommunityToolkit Can not be installed on WinUI 3 version 1.0 Experimental #4171

Closed
ghost1372 opened this issue Aug 10, 2021 · 13 comments
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior build 🔥 by design sdkcheck 🏁 WinUI 💠 Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.
Milestone

Comments

@ghost1372
Copy link

Describe the bug

WindowsCommunityToolkit can not be installed on WindowsAppSDK 1.0-Experimental version
it seems that This is due to the renaming of windowsAppSDK nuget packages
If possible, please publish a new version compatible with this version.
microsoft/WindowsAppSDK#1209

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a new WinUI3 Packaged App 1.0-Experimental version
  2. Install WindowsCommunityToolkit from nuget
  3. Compile Project
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

NuGet Package(s):

Package Version(s):

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: )
- [x] 2019 Preview (version: )

Additional context

Add any other context about the problem here.

@ghost1372 ghost1372 added the bug 🐛 An unexpected issue that highlights incorrect behavior label Aug 10, 2021
@ghost
Copy link

ghost commented Aug 10, 2021

Hello ghost1372, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost ghost added the needs triage 🔍 label Aug 10, 2021
@michael-hawker michael-hawker added build 🔥 sdkcheck 🏁 WinUI 💠 Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3. by design and removed needs triage 🔍 labels Aug 10, 2021
@michael-hawker
Copy link
Member

Thanks for the report @ghost1372. This is a known issue, we currently only support version 0.8 as per the WinUI release notes.

We're also waiting for WinUI 3 to adopt the WinUI 2.6 changes as we've updated to WinUI 2.6 in our main branch for our upcoming 7.1 release.

When they ship a release for 1.0 that supports the new styles, we can ship an new update.

@michael-hawker michael-hawker added this to the WinUI3 milestone Aug 10, 2021
@azchohfi
Copy link
Contributor

azchohfi commented Aug 11, 2021

This is also blocked by:
microsoft/WindowsAppSDK#1217

@huoyaoyuan
Copy link
Contributor

@michael-hawker This is currently blocking existing WinUI applications to try the new alpha.

What I need is a package with 7.0 feature (thus depending on features of WinUI/Reuion0.8) and recompiled for WinUI/WindowsAppSDK1.0 . It's OK to be alpha and sit on private feed. Cloning and forking the community toolkit is just too big work for the projects.

If we can migrate to the new package earlier, we can find potential issues sooner. WCTK is a very important part of WinUI ecosystem and shouldn't block migration.

@kmgallahan
Copy link
Contributor

@azchohfi The Bootstrap.dll issue seems to of been resolved in the latest WindowsAppSDK preview release.

After that roadblock was resolved I then hit the next one in that the toolkit doesn't work, hence what led me to this issue...

@michael-hawker
Copy link
Member

Thanks everyone for letting us know, we're aware that this has been a paint-point and are working towards, if anything, an interim solution.

As suggested this just maybe a more 'preview' type drop that supports the latest 1.0-preview but may be a bit wonky from still having the mixed styles from 2.5 vs. 2.6, at least until 1.0 ships.

@azchohfi has the AnyCPU issue microsoft/WindowsAppSDK#1217 been resolved in the latest 1.0-preview?

@ghost1372
Copy link
Author

Hi @michael-hawker
WindowsAppSdk 1.0-preview 2 with windows 11 styles released now!
can you update nuget packages?😁

@michael-hawker
Copy link
Member

@ghost1372 we're still waiting on our dependencies to update to 1.0-preview1/2; once that is done we can move forward.

@tinmac
Copy link

tinmac commented Oct 18, 2021

@michael-hawker Can you give us a timeline for when this will be working, really need WCT on WinUI 3. Is there an issue to subscribe to or will you update this one?

@michael-hawker
Copy link
Member

@tinmac we'll post a discussion when we release and close this issue. Right now we're waiting for Preview 3 as WASDK Preview 1 and 2 have a critical bug, see microsoft/WindowsAppSDK#1599

@ghost1372
Copy link
Author

@michael-hawker but here
It is stated that preview 2 is the last preview

This is the latest release of the preview channel for version 1.0. It supports all preview channel features.

Am I misunderstood?

@michael-hawker
Copy link
Member

@ghost1372 they have the message on NuGet here: https://www.nuget.org/packages/Microsoft.WindowsAppSDK/1.0.0-preview2

@michael-hawker
Copy link
Member

Thanks @ghost1372 for closing the issue, I knew I'd forget to post in one place. Link to the new release: https://github.com/CommunityToolkit/WindowsCommunityToolkit/releases/tag/winui-7.1.1-preview3

@ghost ghost locked as resolved and limited conversation to collaborators Dec 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior build 🔥 by design sdkcheck 🏁 WinUI 💠 Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.
Projects
None yet
Development

No branches or pull requests

6 participants