-
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
CommunityToolkit.WinUI.Converters 8.1.240821 -nuget does not install its namespace correctly in WinUI3 for windows x64 #506
Comments
Sorry for delay - but I have been unable to apply suggested solution of retarget to 10.0.26100.0 I updated all nuget packages including Microsoft.WindowsAppSDK to latest stable using .Net*.0. Setting target framework to 10.0.2200.0 was not sufficient - object browser shows communityToolkit,converters namespace is not there. Upgrading target and minimum framework to 10.0.26100.0 gives a conflict as some items are dependent on a previous version, causing conflict. I get: I am stuck on how to resolve as Visual studio is updated to latest, and all nuget packages are latest stable. My package references ( all latest) are: |
@RossCoeH Did you remember to update the TFM in both the csproj and the publish profile? |
Update to 10.0.26100.0 worked for me. |
@RossCoeH you can also try the 8.2-preview we published to NuGet as well, this relies on the newer Win2D dependency which fixes the issue of needing a newer TFM (why we have this issue in the first place), so if 8.0 was working for you, 8.2 should work as well. (Thanks for confirming @parko65.) Ultimately, 8.2 is taking a bit longer to get out than we had planned last when we thought about shipping an 8.1 hotfix to back-port the change, but that's also a bit more involved now that we've diverged so much from our last release. Ideally, it's hopefully easiest for folks to rely on the 8.2-preview now that it's on NuGet. We should have another update out shortly in preview, and then move to a stable release within the next ~month. |
Where is the publish profile? Updating to target 26100 worked to resolve the Converters issue but I have a similar issue with DockPanel not being found despite CommunityToolkit.WinUI.Controls.Primitives (8.1.240916) being there. |
Describe the bug
Despite having correct nuget dependencies, the CommunityToolkit.WinUI.Converters namespace is not accessible after build giving this error:
Undefined namespace. The 'using' URI refers to a namespace 'CommunityToolkit.WinUI.Converters' that could not be found.
first error line is created at
xmlns:converters="using:CommunityToolkit.WinUI.Converters"
Build is correct, package dependencies in solution explorer do not show errors. The .csprog file contains
To replicate, create a new project, add the nuget packages above and modify mainwindow to include a xaml reference of
xmlns:converters="using:CommunityToolkit.WinUI.Converters" - the last portion of (WinUI.Converters) will not be found in the drop down boxes as you type.
Any suggestions on how to fix?
Regression
No response
Steps to reproduce
Expected behavior
The namspace "CommunityToolkit.WinUI.Converters" should be availabe after CommunityToolkit.WinUI.Converters is installed with nuget
Screenshots
No response
IDE and version
VS 2022
IDE version
4.8.09032
Nuget packages
Nuget package version(s)
8.1.240821
Additional context
No response
Help us help you
Yes, but only if others can assist
The text was updated successfully, but these errors were encountered: