Packing iOS binding projects with NativeReference fails (original) (raw)

Steps to reproduce

I have created a repository with this issue:
https://github.com/mattleibow/XamarinNativeReferencesBug

I have opened an issue on the MSBuild.Sdk.Extras repository as they can add a workaround there as well: novotnyllc/MSBuildSdkExtras#176

Project file

xamarinios1.0 true true

Command line

msbuild /restore /t:pack /bl

Expected behavior

The project builds with two packages as output.

Actual behavior

The project fails with an error:

error : The file '/Users/matthew/Projects/Testing/XamarinNativeReferences/source/Square.Aardvark/bin/Debug/xamarinios1.0/Native.Square.Aardvark.manifest' to be packed was not found on disk.

Environment data

msbuild /version output:

Microsoft (R) Build Engine version 16.2.0-ci for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

16.200.19.36501

OS info:
macOS Mojave 10.14.5 (18F132)