Fix `IsNetCore` and `IsNativeAOT` for single-file apps without AOT

Merged
TI
1y ago
+52-39