Bug 37599 - #r "Xamarin.iOS" doesn't work
Summary: #r "Xamarin.iOS" doesn't work
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: F# Add-in ()
Version: 5.10 (C6SR3)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Dave Thomas
Depends on:
Reported: 2016-01-12 04:12 UTC by bryan costanich
Modified: 2016-01-12 04:15 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 37599 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 bryan costanich 2016-01-12 04:12:57 UTC
In an F# iOS project, if i try to load the Xamarin.iOS dll in an .fsx, using just the following:

  #r "Xamarin.iOS"

it won't work. it doesn't find it in the project or the mono directories it looks in.

this is kind of a bummer, because it's a common scenario for folks trying to test out iOS code in an fsharp script file.

I suggest we add whatever folder this is in, into the search path.

better yet; in an .fsx file in an iOS project, we should even consider implicitly loading the assembly.
Comment 1 bryan costanich 2016-01-12 04:15:11 UTC

  #r "Xamarin.iOS.dll"

is what i meant to type.