The monotouch_runtime profile needs the DISABLE_REMOTING flag.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 14 Jan 2014 16:30:30 +0000 (17:30 +0100)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 14 Jan 2014 16:31:22 +0000 (17:31 +0100)
Since the corresponding mono runtime being used has also disabled remoting.

mcs/build/profiles/monotouch_runtime.make

index 9f82811018f495c016c9ee62ab9e73a00dc38648..ca085da46035fa07178875b103f5745e82ef3499 100644 (file)
@@ -14,7 +14,7 @@ profile-check:
        @:
 
 DEFAULT_REFERENCES = -r:mscorlib.dll
-PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
+PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -D:DISABLE_REMOTING -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
 
 FRAMEWORK_VERSION = 2.1