-
Notifications
You must be signed in to change notification settings - Fork 533
Potential Roslyn Analyzers
Jonathan Pobst edited this page Nov 29, 2021
·
5 revisions
It may be beneficial to create a built-in set of Roslyn Analyzers for Xamarin.Android applications that can be used to steer users away from patterns that are less than ideal or flat-out will not work. Often times, .NET doesn't provide a better way to message these things outside of (ab)using [Obsolete]
to surface warnings to users.
We often mention something would be a good candidate and then forget about it, so this page is where we can collect proposals should we create an Analyzer pack.
Potential candidates for Analyzers:
-
Do Not Override Application.AttachBaseContext (Context) -
Application.AttachBaseContext (Context)
is used by Xamarin.Android startup, and overriding it can make the application unable to start up.
- APK Tests on the Hyper V Emulator
- Design Time Build System
- Profile MSBuild Tasks
- Diagnose Fast Deployment Issues
- Preview layout XML files with Android Studio
- Documentation