.NET MAUI will be released later this year, and we are also very happy to share with you our plans for Xamarin Community Toolkit! This includes the .NET MAUI Community Toolkit, the backward compatible version of Xamarin Community Toolkit, and the obsolescence of the current Xamarin Community Toolkit plan.
Since the first version of the Xamarin Community Toolkit was released, it has quickly become one of the most popular Xamarin open source libraries. All these successes come from you-our excellent Xamarin developer community! Thank you for contributing to the Community Toolkit Contributed countless hours. Now, let us look at some exciting news.
Introduction to .NET MAUI Community Toolkit
Just as Xamarin.Forms is evolving into .NET MAUI, the Xamarin Community Toolkit is also evolving. I am happy to announce that the .NET MAUI Community Toolkit will be released soon!
We will release two NuGet packages:
- CommunityToolkit.Maui
- CommunityToolkit.Maui.Markup
Like XamarinCommunity Toolkit, .NET MAUI Community Toolkit is also fully open source and supported by the community! We are currently working on porting the features in Xamarin Community Toolkit to .NET MAUI Community Toolkit, and encourage you to continue to help us.
- CommunityToolkit.Maui GitHub repository
- CommunityToolkit.Maui.Markup GitHub repository
In the future, the .NET MAUI Community Toolkit will become the recommended toolkit for all .NET MAUI applications.
Our goal is to release the first preview version of the new CommunityToolkit.Maui NuGet package in August 2021, and we will publish a transition guide to help navigate any major changes between Xamarin. Community T-oolkit and CommunityToolkit.Maui.
Introduce Xamarin.CommunityToolkit.MauiCompat
To help all of us avoid breaking changes when porting Xamarin.Forms applications to .NET MAUI, we have released two .NET MAUI compatible versions of Xamarin Community Toolkit:
- Xamarin.CommunityToolkit.MauiCompat
- Xamarin.CommunityToolkit.Markup.MauiCompat
These MauiCompat NuGet packages will be almost the same as the current Xamarin Community Toolkit library; we just changed the Xamarin.Forms dependency to .NET MAUI, and the rest of the code base remains the same.
The MauiCompat library allows us to continue to use the Xamarin Community Toolkit, just as we use it today. The only thing you need to do is to uninstall the Xamarin.CommunityToolkit NuGet package, install the Xamarin.CommunityToolkit.MauiCompat NuGet package, and update the namespace. No further code changes are required!
We plan to release the first preview version of the new MauiCompat NuGet package in August 2021.
Note : To ensure that there are no disruptive changes, Xamarin.CommunityToolkit.MauiComp-at will continue to use the custom renderer instead of the .NET MAUI handler.
Unify Xamarin Community Toolkit + Windows Community Toolkit
The .NET MAUICommunity Toolkit will debut in a new GitHub repository, where we will work with the Windows Community Toolkit team! This allows us to integrate engineering, DevOps, documentation and marketing resources with the Windows Community Toolkit. We also share code between the two toolkits through the new library CommunityToolkit.Common.
These new libraries are all open source and can be found in the CommunityToolkit GitHub organization. This GitHub organization was previously named WindowsCommunity Toolkit (Windows-Toolkit). The updated + unified organization allows us to share code and CI/CD workflow between toolkits most effectively, and opens up the possibility of providing more toolkits in the future.
You can learn more about the work done by the Windows Community Toolkit for WinUI 3 and the new CommunityToolkit.WinUI logo in the official announcement.
You can also follow our progress in the community toolkit GitHub organization, don’t hesitate to submit a pull request!
Please continue to follow the .NET blog to learn more about unified CommunityToolkit updates!
Eliminate Xamarin.CommunityToolkit
According to the same timetable as Xamarin.Forms, we will continue to provide services for Xamarin Community Toolkit until November 2022.
We will continue to accept pull requests to add new features until September 2021.
By November 2022, we will only accept pull requests for bug fixes.
The source code of XamarinCommunity Toolkit will remain in the current GitHub repository of the Xamarin GitHub organization: https://github.com/xamarin/XamarinCommunityToolkit
❶ Timetable
When will these new libraries be available? This is our next schedule!
❷ Summary
The porting of the Xamarin Community Toolkit requires your work, so be sure to check the new open source .NET Community Toolkit repository and start the pull request immediately.
Thanks to everyone who contributed to the XamarinCommunity Toolkit! Without your help, we would not have been able to create such a successful library. We can't wait to see the amazing new features you will add to the .NET MAUICommunity Toolkit!
Reference
Some data about Xamarin Community Toolkit:
- 80+ contributors
- 250000+ downloads
- Used in more than 500 GitHub open source repositories
- CommunityToolkit.MauiGitHub repository
- CommunityToolkit.Maui.MarkupGitHub repository
reference link:
CommunityToolkit.Maui GitHub repository:
https://github.com/CommunityToolkit/Maui
CommunityToolkit.Maui.Markup GitHub repository:
https://github.com/CommunityToolkit/Maui.Markup
.NET MAUI handler:
Custom renderer:
New GitHub repository:
https://github.com/CommunityToolkit/Maui.Markup
Windows CommunityToolkit:
CommunityToolkit GitHub organization:
https://github.com/CommunityToolkit/Maui.Markup
Official Announcement:
Community Toolkit GitHub Organization:
https://github.com/CommunityToolkit/Maui.Markup
.NET Blog:
https://devblogs.microsoft.com/dotnet?WT.mc_id=mobile-34797-bramin
The same timeline for Xamarin.Forms:
https://github.com/xamarin/Xamarin.Forms/wiki/Feature-Roadmap
80+ contributors:
https://github.com/xamarin/XamarinCommunityToolkit/graphs/contributors
250000+ downloads:
https://www.nuget.org/packages/Xamarin.CommunityToolkit/
Used in more than 500 GitHub open source libraries:
Scan the QR code to follow Microsoft MSDN to get more first-hand technical information and official learning materials from Microsoft!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。