-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Friend access was granted to System.Net #60
Comments
There is no way to solve this properly yet.... It's a problem only when compiling in MonoDevelop (not VS) The MonoTouch solution works around this by building to a System.Net.Touch.dll name and then doing a rename to System.Net.dll I have opened this up on https://bugzilla.xamarin.com/show_bug.cgi?id=8035 last month (and on StackOverlfow in September - http://stackoverflow.com/questions/12433701/building-a-system-net-surrogate-dll-under-monotouch-avoiding-a-friend-access) I've got agreement from engineers at both Xamarin and Microsoft than one or both of them should ship these shim dll's really... but no real action from either yet. As a workaround, I will put the same workaround as Touch has for this - will do at some point this week.... For MonoDroid, a similar fix will be needed for the System.Xml.Serialization shim too. Sorry about leaving this in there thsi long (Redth told me about it at the end of last week) Stuart |
ie if you need this to build for you now:
The main delay for me doing this myself is setting up my Mac for Droid development! Hope that helps Stuart |
If that doesn't make sense you can ping me on http://jabbr.net/#/rooms/mvvmcross - although I have a feeling we are in different timezones :) |
Thanks, that seems to do the trick. I guess the fun part is trying to keep the projects consistent between Windows and OSx. On a different note, I must say from what I have seen you have done a great job. I previously have used Caliburn.Micro in a number of WP7 / WPF applications, and it doesn't seem like too much of a leap to get my head around MvvmCross. BTW: If you ever decided to merge with Caliburn I think the ultimate Mvvm Framework could be created. (just saying) |
To get around the Windows (Visual Studio) / OSx (MonoDevelop) I just hacked the project file (based on a previous post of yours) to conditionally change the assembly output name:
|
I do believe I fixed this and checked in the changes... but I haven't tested yet! |
Finally tested on the Mac - it didn't build.... Problem still there with the xml serialization project Fixed that now....
Thanks again for the bug report - bug squashed :) |
…gin_copy TryCopy for File plugin
[Feature] Use MvxForms with MasterDetailPage
I am getting the following error when compiling for MonoDroid using MonoTouch on the Mac:
Friend access was granted to
System.Net, PublicKeyToken=7cec85d7bea7798e', but the output assembly is named
System.Net, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Try adding a reference to `System.Net, PublicKeyToken=7cec85d7bea7798e' or change the output assembly name to match itCould this be solved with the steps from your post: http://slodge.blogspot.co.uk/2012/11/thanksgiving-post-thanks-for-more.html ?
The text was updated successfully, but these errors were encountered: