fsharp
fsharp copied to clipboard
F# tooling rejects any use of <AndroidAppBundleMetaDataFile>
Xamarin Android defines a build item that is not a file path in the Include parameter. However, F# tooling reads this information and rejects the project altogether.
Repro steps
Add
<ItemGroup>
<AndroidAppBundleMetaDataFile
Include="com.android.tools.build.obfuscation/proguard.map:$(OutputPath)mapping.txt"
/>
</ItemGroup>
to an existing F# Xamarin.Android project. For example, one generated from Fabulous Xamarin Forms template.
Expected behavior
Project loads, builds, and archives as specified.
Actual behavior

Known workarounds
Not using this attribute. This impacts F# apps submitted to Google Play store as Google Play displays a warning
without this build item.
Related information
Provide any related information (optional):
- Operating system Windows
- .NET Runtime kind (.NET Core, .NET Framework, Mono) Xamarin Android
- Editing Tools (e.g. Visual Studio Version, Visual Studio) VS17.2.3
I wonder where it happens, i will check the binlog.