Bug 46142 - System.Configuration breaks mysteriously if you add "--embed-mono=false" to mmp args
Summary: System.Configuration breaks mysteriously if you add "--embed-mono=false" to m...
Status: CONFIRMED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Base Class Libraries ()
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-28 14:22 UTC by Chris Hamons
Modified: 2016-11-10 20:16 UTC (History)
5 users (show)

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


Attachments
Repro (349.09 KB, application/zip)
2016-10-28 14:22 UTC, Chris Hamons
Details


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 for Bug 46142 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 original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Chris Hamons 2016-10-28 14:22:37 UTC
Created attachment 18262 [details]
Repro

XS ran into this problem and it took awhile to sort out.

For some reason, if you have embed-mono=false, then we can not parse any config file with <appSettings> section.

I'm not sure if it is just swapping assemblies and we're hitting some weird incompatibility or if there is a bug.

We should get to the bottom of it, even though embed-mono=false is not really a supported feature.

Xamarin Studio Business
Version 6.1.1 (build 15)
Installation UUID: d2217398-f397-4dfc-85c1-f94f9fab852d
Runtime:
	Mono 4.8.0 (mono-4.8.0-branch/fa6fba7) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 408000233

NuGet
Version: 3.4.3.0

Xamarin.Profiler
Version: 0.38.1
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 7.0.99.113 (Xamarin Business)
Android SDK: /Users/donblas/Library/Developer/Xamarin/android-sdk
	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)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.1.6
SDK Platform Tools Version: 23.0.0
SDK Build Tools Version: 23.0.0

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Android Player
Version: 0.4.4
Location: /Applications/Xamarin Android Player.app

Apple Developer Tools
Xcode 8.1 (11544)
Build 8B62

Xamarin.iOS
Version: 10.3.0.11 (Xamarin Business)
Hash: 66cbc10
Branch: xm_touchbar
Build date: 2016-10-27 15:50:55-0500

Xamarin.Mac
Version: 3.0.0.232 (Xamarin Business)

Build Information
Release ID: 601010015
Git revision: fa52f02641726146e2589ed86ec4097fbe101888
Build date: 2016-09-22 08:03:02-04
Xamarin addins: 75d65712af93d54dc39ae4c42b21dfa574859fd6
Build lane: monodevelop-lion-cycle8-sr0

Operating System
Mac OS X 10.11.6
Darwin Monolith.local 15.6.0 Darwin Kernel Version 15.6.0
    Mon Aug 29 20:21:34 PDT 2016
    root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64