Bug 28766 - Cannot build corefx
Summary: Cannot build corefx
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: 5.8
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: (C8)
Assignee: Lluis Sanchez
Depends on:
Reported: 2015-04-04 07:37 UTC by Eugeny
Modified: 2016-07-14 14:21 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Eugeny 2015-04-04 07:37:40 UTC

Recently I’ve downloaded .NET sources (https://github.com/dotnet/corefx) and tried to play around with them. Unfortunately, when I try to build projects, I get an exception with few details on it while my build log verbosity level is set to Detailed. None of corefx solutions is building.

For example,
Building: System.Text.Encoding.CodePages (OSX_Debug)
error: <…>/Repositories/GitHub/corefx/src/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj: Exception has been thrown by the target of an invocation.
Comment 1 Saurabh 2015-07-07 05:09:50 UTC
I have checked this Issue with few samples from corefx and I am getting build error for all. This is the build output for the same: https://gist.github.com/saurabh360/c22bd65e1408b050815c

But this error is different from the error mentioned in Issue.

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
	Mono 4.0.2 ((detached/198235d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020004

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: ef8c2f7
Branch: master
Build date: 2015-06-22 21:28:32-0400

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	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_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.9.4
Darwin 360-MACMINIs-Mac-mini-2.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 2 Lluis Sanchez 2016-07-14 14:21:40 UTC
Xamarin Studio does not currently support building .NET Core libraries. Those libraries must be built using the .NET Core runtime, and Xamarin Studio uses the Mono runtime. We plan to add support for .NET Core projects in the future (there is a third party add-in that add basic support for that), but that's not yet officially supported.