Hi,

I've been using MonoTouch for a few weeks now and I have an application that
I'd actually like to try on physical devices (been working fine on
emulator).

After going through all the code-signing and provisioning profile stuff (I
hope I got it right), I'm having a build issue now at what I think is the
link stage referencing System.Security.SecurityRulesAttribute. The dump is
below.

Also, if it might be significant, I was using the Eval version of MonoTouch,
but I just upgraded to the paid version. I'm also developing both MonoTouch
and MonoDroid on the same machine, in case there might be conflicts in the
base Mono support libraries.

Any suggestions?




Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot
"/Applications/Xcode.app/Contents/Developer" -v --nomanifest --nosign -dev
"/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app"
-r
"/Users/cdodge/dev/Currents/MyApp/PlatformBuildTargetWrappers/MyApp.Common.Touch/bin/Release/MyApp.Common.Touch.dll"
-r
"/Users/cdodge/dev/Currents/MyApp/PlatformBuildTargetWrappers/MyApp.Common.UI.Touch/bin/Release/MyApp.Common.UI.Touch.dll"
-r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r
"/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r
"/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r
"/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -linksdkonly -sdk
"5.1"
"/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppMobileAppTouch.exe"
MonoTouch version 5.2.11 using framework:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
Copied
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppMobileAppTouch.exe
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/MyAppMobileAppTouch.exe
Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/mscorlib.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/monotouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/Mono.Security.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Core.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Xml.dll
Copied
/Users/cdodge/dev/Currents/MyApp/PlatformBuildTargetWrappers/MyApp.Common.Touch/bin/Release/MyApp.Common.Touch.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/MyApp.Common.Touch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Data.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Data.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Data.Tds.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/Mono.Data.Tds.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Transactions.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Transactions.dll
Copied
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/NewtonsoftJsonMonoTouch.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/NewtonsoftJsonMonoTouch.dll
Copied
/Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Runtime.Serialization.dll
Copied
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/RestSharp.MonoTouch.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/RestSharp.MonoTouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Xml.Linq.dll
Copied
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/LitS3.Touch.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/LitS3.Touch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Web.Services.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Data.Sqlite.dll to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/Mono.Data.Sqlite.dll
Copied
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/System.Data.SQLite.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/System.Data.SQLite.dll
Copied
/Users/cdodge/dev/Currents/MyApp/PlatformBuildTargetWrappers/MyApp.Common.UI.Touch/bin/Release/MyApp.Common.UI.Touch.dll
to
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app/MyApp.Common.UI.Touch.dll
Linking SDK only for assembly
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppMobileAppTouch.exe
into
/Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app
error MT2002: Can not resolve reference: System.Void
System.Security.SecurityRulesAttribute::.ctor(System.Security.SecurityRuleSet)

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Trouble-building-project-for-Ad-Hoc-deploy-tp4641745.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to