dotnet / dotnet/fsharp

F# tooling rejects any use of <AndroidAppBundleMetaDataFile>

Open
#13,336 1 comment 0 reactions 0 assignees View on GitHub
AI-thinks-windows-only Area-ProjectsAndBuild Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

[Xamarin Android defines a build item that is not a file path in the Include parameter.](https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/building-apps/build-items.md#androidappbundlemetadatafile) However, F# tooling reads this information and rejects the project altogether.

**Repro steps**

Add
```xml

```
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](https://user-images.githubusercontent.com/19922066/174855350-de1fa163-7128-40ac-94b7-0f4aec94b010.png)

**Known workarounds**

Not using this attribute. This impacts F# apps submitted to Google Play store as Google Play displays a warning
![image](https://user-images.githubusercontent.com/19922066/174855638-660c83fc-ff60-4faf-ac90-ca58ae41fb49.png)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.