-
Notifications
You must be signed in to change notification settings - Fork 564
Description
Android application type
.NET Android (net7.0-android, etc.)
Affected platform version
VS 17.6.0 Preview 7.0
Description
The xa-internal/xa-remam-members.xml created for each build is not being treated as a path in the obj folder but is rather being configured as a relative path.
This is causing the file to be added in git changelog.
The workaround we are using is to explicitly add the file in our .gitignore file.
We think this is happening because MonoAndroidAssetsDirIntermediate is defined after defining _XARemapMembersFilePath in https://github.com/xamarin/xamarin-android/blob/main/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets
Steps to Reproduce
- Create a .NET App for a github project.
- Make some changes, build and deploy the app.
Expected: xa-internal/xa-reamp-members.xml should not be included in the git changelog.
Actual: xa-internal/xa-remap-members.xml is included in the git changelog.
Did you find any workaround?
The workaround is to explicitly add xa-internal/xa-remap-members.xml in the .gitignore file
Relevant log output
No response