Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] fix /t:CreateAllPacks on macOS Catalina (#4705)
Running this command on macOS was failing for me: $ msbuild /t:CreateAllPacks build-tools/create-packs/Microsoft.Android.Sdk.proj With: build-tools/installers/create-installers.targets(72,5): error MSB3073: The command "mono "bin/Debug/lib/xamarin.android/xbuild/Xamarin/Android/mdoc.exe" --debug assemble -o "bin/Debug/lib/monodoc/MonoAndroid-lib" "external/android-api-docs/docs/Mono.Android/en/\" "external/android-api-docs/docs/OpenTK-1.0/en/\" "external/android-api-docs/docs/Xamarin.Android.NUnitLite/en/\"" exited with code 1. [build-tools/create-packs/Microsoft.Android.Sdk.proj] [build-tools/create-packs/Microsoft.Android.Sdk.proj] build-tools/create-packs/Directory.Build.targets(61,5): error MSB3073: The command "dotnet pack -p:Configuration=Debug "build-tools/create-packs/Microsoft.Android.Sdk.proj"" exited with code 1. [build-tools/create-packs/Microsoft.Android.Sdk.proj] Take note of the path: "external/android-api-docs/docs/Mono.Android/en/\" Reviewing `create-installers.targets`: "%(_MsxDocAssembly.SourceDir)\" `%(SourceDir)` already had a trailing slash, and the addition of an extra one is breaking the `mdoc.exe` command. I am not sure why we didn't hit an issue on CI, but I am running macOS Catalina locally. Co-authored-by: Peter Collins <[email protected]>
- Loading branch information