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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 10264 [details]
Steps to reproduce.
1. Create C# Unified API Xamarin.Mac Application project
2. Add a Nuget package Microsoft.Bcl.Build
3. In the same solution create a C# Portable library and add reference to it to Unified API Application project
4. Try to build Application
Expected result: Application builds
Observed result: Application fails to build with an error: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Mac/Xamarin.Mac.Common.targets: Error: Error executing task DetectSigningIdentityTask: Required property 'AppManifest' not set.
The error observed on Stable (Xamarin Studio Version 5.8 (build 443), Xamarin.Mac Version: 22.214.171.124 (Business Edition)) and Beta channels (Xamarin Studio Version 5.8 (build 443), Xamarin.Mac Version: 126.96.36.199 (Business Edition)). Alpha channel has no new versions available at the moment
Attached is a sample project.
I have checked this issue with the help of attached sample and able to reproduce it successfully. To reproduce this issue I have followed steps given in bug description. On building the attached sample getting the same error as mention in bug description.
Ide log: https://gist.github.com/saurabh360/c2feebc4d76ef0046e58
Build Output: https://gist.github.com/saurabh360/45581e87dfc7679dc8a2
=== Xamarin Studio ===
Version 5.9 (build 171)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Mono 4.0.0 ((detached/7f27bd7)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000049
=== Apple Developer Tools ===
Xcode 6.1 (6604)
=== Xamarin.iOS ===
Version: 188.8.131.52 (Business Edition)
Build date: 2015-03-05 01:59:36-0500
=== Xamarin.Android ===
Version: 184.108.40.206 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 220.127.116.11 (Business Edition)
=== Build Information ===
Release ID: 509000171
Git revision: a953c3342b9c8aab43bd5e67119d1a3439ddcc08
Build date: 2015-03-09 12:37:56-04
Xamarin addins: 76a6f0bdd3cecbf0960abefe1ce18661729ec693
=== Operating System ===
Mac OS X 10.10.0
Darwin Jatin66s-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
Can you please try Version: 18.104.22.168 which is in the Alpha/Beta now. I believe this fixes that issue.
I have a report of this happening with 22.214.171.124 as well.
The root cause for this issue is this line in your csproj:
<Import Project="packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
It is stomping all over our build targets and is giving you an incomplete build. If you open your csproj in a text editor and remove that line everything should work.
We have people looking to what actions specifically add that to your project (nuget)? I'll keep this open until I have more information.
This is an issue with iOS in some cases as well apparently.
It was nuget. The whole project was build in Xamarin on Mac. First I created the Unified API project, then added the portable library project, then added Bcl package through Nuget. I was trying to figure out what is going on and looking for the minimal problematic configuration. As I remember the issue wasn't there until I added PCL library (which is a common case for our solution).
Here's the bug in question: