-
Notifications
You must be signed in to change notification settings - Fork 80
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
Strange behavior in v8.1.240821. #489
Comments
I had happend the same problem;can't using the nameplace!!! It is working |
Same here: the namespace CommunityToolkit.WinUI is not found on the v8.1. |
As from the release note you need to change the TargetFramework to build 22621. I have tried to create a new app from scratch, install the CommunityToolkit.WinUI.Controls.Primitives, and it doesn't work until you change the TargetFramework in .csproj to:
The default version (19041) doesn't work. |
@Petrarca181 can you confirm updating the TFM resolves your issue? @Arlodotexe I know at one point there was an explicit warning message about this, but doesn't seem like it's showing up in some cases. |
@Petrarca181 What are your Linking CommunityToolkit/Tooling-Windows-Submodule#185, might be related. |
|
upd: targeting os to 26100 solved the problem. |
I can further elaborate on this issue (only apparently solved). If you create a project from scratch, you just need to change the TFM as written in Release Notes. But in a more complex project, I cannot change the Target OS Version. If I try from the editor, it switches back to 19041. If I try to edit the csproj, it keeps showing 19041. |
@fabianoriccardi Try changing your TFM with an editor other than visual studio, then open your project again. It shouldn't be reverting it. |
Sergio had also mentioned issues with the MVVM Toolkit update and changes needed from the Windows SDK update, see that workaround here: CommunityToolkit/dotnet#923 (comment) If anyone else had the TFM issue, but was still seeing issues and the above resolved this for them, please let us know. Thanks! |
We determined another vector/aspect of this issue is if the With that, I think this issue is resolved, so going to close and will follow-up with an issue in the WinUI repo. |
Finally I had solved, there was messing properties in csproj and publish profile. |
hmm I'm getting the same issue after updating the Windows App SDK and using 10.0.26100.0 SDK... I also get |
@DexrnZacAttack if it's trying to load Uno then it's not using the right TFM and trying to fallback incorrectly. Please double-check the steps in the release notes and your configuration. |
Describe the bug
If I update Behaviors to v8.1.240821 "using CommunityToolkit.WinUI;" is not recognizable anymore only "using CommunityToolkit;"
Also updating Extensions to v8.1.240821 EnqueueAsync() is not found for DispatcherQueue.
How to fix this or I'm missing something?
Steps to reproduce
Expected behavior
A in previous version?
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.
The text was updated successfully, but these errors were encountered: