Bug 8249 - error CS0281 building System.Net.Touch in MvvmCross project
Summary: error CS0281 building System.Net.Touch in MvvmCross project
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-11-06 14:21 UTC by Stuart Carnie
Modified: 2014-12-23 14:26 UTC (History)
2 users (show)

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

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:

Description Stuart Carnie 2012-11-06 14:21:27 UTC
Tried with MonoTouch 6.0.4 / MonoDevelop and MonoTouch 6.0.6 /
MonoDevelop 3.0.5.

error CS0281: Friend access was granted to `System.Net, PublicKeyToken=7cec85d7bea7798e', but the output assembly is named `System.Net, Version=, Culture=neutral, PublicKeyToken=null'. Try adding a reference to `System.Net, PublicKeyToken=7cec85d7bea7798e' or change the output assembly name to match it

Steps to reproduce:

1. Check out: https://github.com/scarnie/MvvmCross
2. Ensure you're on vNext branch (default)
3. Open MvvmCross_All solution
4. Ignore errors for Android and Windows builds
5. Find the System.Net.Touch project
6. RMB and Build

This error will occur.
Comment 1 Sebastien Pouliot 2014-12-23 14:26:45 UTC
That was, most likely, due to the strong naming change [1] we did in 6.2 (if the binary was used in 6.0.x).

[1] http://forums.xamarin.com/discussion/1475/changes-to-assembly-strongnames-in-xamarin-ios-6-2-0/p1