fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

F# tooling rejects any use of <AndroidAppBundleMetaDataFile>

Open Happypig375 opened this issue 3 years ago • 1 comments

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

image

Known workarounds

Not using this attribute. This impacts F# apps submitted to Google Play store as Google Play displays a warning image 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

Happypig375 avatar Jun 21 '22 16:06 Happypig375

I wonder where it happens, i will check the binlog.

vzarytovskii avatar Jun 21 '22 19:06 vzarytovskii