Ensure Valid File Suffix for CommunityToolkit.Maui
and CommunityToolkit.Maui.Core
#316
Closed
TheCodeTraveler
started this conversation in
General
Replies: 2 comments
-
The first thing that comes to my mind is using the pre-commit hook with a bash script. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closed as merged. #315 |
Beta Was this translation helpful? Give feedback.
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.
-
We are looking for a solution to ensure that invalid files suffixes for files in
CommunityToolkit.Maui
andCommunityToolkit.Maui.Core
generate a compiler error .As noted in #315, a couple files with invalid suffixes snuck into the
main
branch.The following are valid Suffixes for
CommunityToolkit.Maui
andCommunityToolkit.Maui.Core
; all other suffixes are invalid:*.shared.cs
net6.0-ios
net6.0-maccatalyst
*.macios.cs
net6.0-ios
andnet6.0-maccatalyst
*.android.cs
net6.0-android
*.windows.cs
net6.0-windows
Beta Was this translation helpful? Give feedback.
All reactions