[Publish] /p:PublishDir is empty when used with /p:OutDir
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 579
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 252
Description
### Android application type
Android for .NET (net6.0-android, etc.)
### Affected platform version
CLI SDK 6.0.300-preview.22204.3
### Description
When I call `dotnet publish --no-restore -f:net6.0-android /p:OutDir="C:\Temp\B Android" /p:PublishDir="C:\Temp\A Android"`
`C:\Temp\B Android` contains binaries and apk
`C:\Temp\A Android` contains nothing
### Steps to Reproduce
1. Create a new MAUI app
2. Execute `dotnet publish --no-restore -f:net6.0-android /p:OutDir="C:\Temp\B Android" /p:PublishDir="C:\Temp\A Android"`
### Did you find any workaround?
_No response_
### Relevant log output
[android.zip](https://github.com/xamarin/xamarin-android/files/8498237/android.zip)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.