Bug 1948 - MD should not treat Mono.Posix as a framework assembly
Summary: MD should not treat Mono.Posix as a framework assembly
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: Trunk
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Lluis Sanchez
Depends on:
Reported: 2011-11-08 14:04 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-09-26 12:05 UTC (History)
3 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 for Bug 1948 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Mikayla Hutchinson [MSFT] 2011-11-08 14:04:29 UTC
MD should not treat Mono.Posix as a framework assembly, ebacuse this breaks compatibility with compiling on .NET, were it certainly isn't a framework assembly.

For example, a Mono.Posix reference in a 4.0 project on Windows will be handled literally, i.e. the assembly will have a reference to Mono.Posix and Mono.Posix.dll will be local-copied into the bin folder.

On Mono, the reference will magically become a Mono.Posix reference and the assembly will not be local-copied.
Comment 1 Marek Habersack 2011-11-15 15:26:20 UTC

*** This bug has been marked as a duplicate of bug 1947 ***
Comment 2 Mikayla Hutchinson [MSFT] 2013-04-01 15:57:00 UTC
Not a dup. One it about what MD itself references, the other is about how MD treats references.
Comment 3 Marius Ungureanu 2017-09-26 12:05:49 UTC
We grab the assemblies from the Framework list. If we want it not to be a framework assembly, Mono itself should not list mono.posix in the framework directory.

We can special-case it, but there are multiple assemblies which fit this category.