The classifier looked two levels deep, so an Android Studio project
(app/src/main/AndroidManifest.xml) was not recognised, and a repository
with an Android app, a Unity project and their generated .csproj files
became a desktop app. Managed Git sets the type of its new targets from
this classification, so that mattered.
- Markers are collected to depth 6, skipping build output, dependencies
and caches (build, .gradle, node_modules, Pods, Unity Library/Temp/Obj).
- Android: a module's src/main/AndroidManifest.xml or a Gradle file
applying com.android.application/library; every module is a fact
(phone and tablet apps in one repository are both named).
- React Native (package.json names react-native) and Flutter (sdk:
flutter) are mobile apps, no longer web apps.
- Unity (ProjectSettings/ProjectVersion.txt): an Android app when it has
Android plugins or sits beside Android modules, otherwise a desktop app;
its generated .sln/.csproj no longer count.
- .NET projects are split: WPF/Windows Forms (UseWPF, UseWindowsForms,
PresentationFramework, System.Windows.Forms, the WPF project type GUID)
-> desktop; ASP.NET (Microsoft.NET.Sdk.Web, AspNetCore, System.Web,
Web.config beside the project, the web project type GUID) and WCF
(System.ServiceModel, .svc) -> backend. The kind with more projects
ranks higher, and no .NET verdict outranks a clear mobile one.
Refs #436.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p