CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule
Move global usings to props files
Open
dev loop ➰
enhancement
- Dominant language
- C#
- Stars
- 55
- Forks
- 19
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
# Background
Labs targets both WinUI 2 and WinUI 3. Since this means 2 different namespaces _everywhere_ for fairly common things, we have several "GlobalUsing" .cs files in the [common](https://github.com/CommunityToolkit/Labs-Windows/tree/main/common) folder.
# Problem
Since these are C# files, they must show in the solution explorer for them to take effect. This adds clutter for the user.
# Solution
We can move global usings to MSBuild props files instead. See https://blog.jetbrains.com/dotnet/2021/11/18/global-usings-in-csharp-10/
Contributor guide
Assessment
This issue has not been assessed yet.