dotnet / dotnet/msbuild

AndroidLibrary Manifest attribute cannot resolve tilde (~)

Open
#11,619 4 comments 0 reactions 1 assignee Claimed by @rainersigwald View on GitHub
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Android framework version

net9.0-android

### Affected platform version

.NET 9.0.101

### Description

https://github.com/dotnet/android/blob/d5152b6aea72e50d4089468339d14b80db1919dd/src/Xamarin.Android.Build.Tasks/Tasks/JavaDependencyVerification.cs#L268-L271

The Include attribute can resolve tilde just fine.

### Steps to Reproduce

```xml

```

### Did you find any workaround?

not using tilde i.e. `/Users/***`

### Relevant log output

```shell
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/35.0.39/tools/Xamarin.Android.Bindings.JavaDependencyVerification.targets(27,5): error XA4245: Specified POM file '~/some.pom' does not exist
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.