How to use the nuget packages in C++/WinRT project? #750
MUDIDE-Goutham
started this conversation in
General
Replies: 3 comments 1 reply
|
you can not install CommunityToolkit.*** nuget packages on C++ projects. there is no C++ projections. |
0 replies
|
If you only need the controls from the Community Toolkit, here is a native port: If you feel anything is missing, just let me know.” |
1 reply
|
Is there any support from Microsoft officially in coming years? otherwise you can point to https://github.com/lgztx96/CommunityToolkit.WinUI toolkit on your page so that it can be used widely and there could be more contributors added. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I couldn't install package into C++/WinRT component throws below error.
Could not install package 'CommunityToolkit.WinUI.Controls.RangeSelector 8.2.250402'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.Are there any approaches through which the toolkit packages are integrated seamlessly? I created a CsWinRT project as a intermediate project referring https://learn.microsoft.com/en-us/windows/apps/develop/platform/csharp-winrt/create-winrt-component-winui-cswinrt article, through this the overhead is to add a wrapper XAML around the required toolkit control but 2 blockers..
error:
A type's assembly could not be resolved. This is often because it was forwarded to an unresolved assembly: Type universe cannot resolve assembly: CommunityToolkit.WinUI.Controls.RangeSelector, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime.
All reactions