-
Notifications
You must be signed in to change notification settings - Fork 74
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? |
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: