Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 58881 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
- Create a new XM project with the name of "A.B.C"
- Build with xbuild a.b.c.sln - Works
- Build again with msbuild a.b.c.sln - Fails with
"/Users/donblas/Projects/a.b.c/a.b.c.sln" (default target) (1) ->
"/Users/donblas/Projects/a.b.c/a.b.c.csproj" (default target) (2) ->
(_CopyContentToBundle target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Mac/Xamarin.Mac.Common.targets(267,3): error : The number of DestinationFiles must match the number of SourceFiles. [/Users/donblas/Projects/a.b.c/a.b.c.csproj]
Can you share more details? mono and msbuild version? XM version? And attach the diag log.
It works for me with:
Xamarin.Mac Version: 22.214.171.124
I can reproduce this now.
This is a msbuild bug. The issue is that the app name contains a single quote (`'`), which breaks item transforms.
Upstream issue filed: https://github.com/Microsoft/msbuild/issues/2879