Bug 36177 - System.Security.Permissions.SecurityPermission Linked Away exception
Summary: System.Security.Permissions.SecurityPermission Linked Away exception
Status: RESOLVED DUPLICATE of bug 36255
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 9.2
Hardware: PC Mac OS
: --- normal
Target Milestone: C6SR1
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-23 17:49 UTC by John Miller [MSFT]
Modified: 2016-01-15 15:11 UTC (History)
4 users (show)

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


Attachments
Sample Project (17.38 KB, application/zip)
2015-11-23 17:49 UTC, John Miller [MSFT]
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 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:
Status:
RESOLVED DUPLICATE of bug 36255

Description John Miller [MSFT] 2015-11-23 17:49:23 UTC
Created attachment 13945 [details]
Sample Project

**Overview:**

   While using Couchbase Lite, an exception is thrown after updating to XI 9.2

**Steps to Reproduce:**

   1. Run the attached on a simulator

**Actual Results:**

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Couchbase.Lite.Util.Log' threw an exception. ---> System.NotSupportedException: Linked Away
  at System.Security.Permissions.SecurityPermission..ctor (SecurityPermissionFlag ) [0x00005] in <filename unknown>:0 

**Expected Results:**

   No exception when Link SDK Frameworks is used. 

**Build Date & Platform:**

=== Xamarin Studio ===

Version 5.10 (build 871)
Installation UUID: e01c3049-a2d2-4e0a-aad8-afe6fb627c4d
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

=== Xamarin.Profiler ===

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

=== Apple Developer Tools ===

Xcode 7.1 (9079)
Build 7B91b

=== Xamarin.iOS ===

Version: 9.2.1.51 (Business Edition)
Hash: 3c0ec35
Branch: master
Build date: 2015-11-12 13:05:39-0500

=== Xamarin.Android ===

Version: 6.0.0.34 (Business Edition)
Android SDK: /Users/johnmiller/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

=== Xamarin Android Player ===

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

=== Xamarin.Mac ===

Version: 2.4.0.109 (Business Edition)

=== Build Information ===

Release ID: 510000871
Git revision: 4e9c5abb5ffdae12ba02ac49da83f8b2011dbb88
Build date: 2015-11-12 06:02:54-05
Xamarin addins: 55007ed0e56436f385d8e26394a45be563abc7e8
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.10.5

**Additional Information:**

   This was not happening in previous XI versions.
Comment 2 Sebastien Pouliot 2015-11-24 08:58:29 UTC
@John AFAIK that's always been the case, i.e. CAS is unsupported and has always been removed.

What version was this updated from ?
Comment 3 Sebastien Pouliot 2015-11-25 14:49:30 UTC
more complete information provided in #36255

*** This bug has been marked as a duplicate of bug 36255 ***