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.
I have a regular (non-portable) MonoTouch library dependent on a portable library which uses .NET 4.6 (profile 44). When trying to compile the MonoTouch library with Xamarin Studio on OS X, I get:
The type `System.Object' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
It works fine when compiling the exact same code with Visual Studio.
Xamarin Studio Community
Version 6.1.1 (build 15)
Installation UUID: 597d6e81-1f6e-48bd-9b8b-a6713e5c6c31
Mono 4.6.1 (mono-4.6.0-branch-c8sr0/ef43c15) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 406010005
Xamarin Android Player
Apple Developer Tools
Xcode 8.0 (11246)
Version: 10.0.1.10 (Xamarin Studio Community)
Build date: 2016-10-03 15:18:44-0400
Release ID: 601010015
Git revision: fa52f02641726146e2589ed86ec4097fbe101888
Build date: 2016-09-22 08:03:02-04
Xamarin addins: 75d65712af93d54dc39ae4c42b21dfa574859fd6
Build lane: monodevelop-lion-cycle8-sr0
Mac OS X 10.11.6
Darwin Dimitars-MacBook-Pro-2.local 15.6.0 Darwin Kernel Version 15.6.0
Mon Aug 29 20:21:34 PDT 2016
Created attachment 18186 [details]
- Open Bug45787.sln
- Try to build
Reported error will happen.
I can reproduce reported issue, I have attached a test case that reproduces described scenario on comment #0
Any approximate release date for the fix?
This looks like xbuild issue where PCL library reference does not add PCL library dependencies.
This seems to work now in VS4Mac (with both xbuild and msbuild).