Skip to content
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

Question About Xamarin.iOS.dll Support #892

Closed
pantaaron opened this issue Jun 13, 2017 · 3 comments
Closed

Question About Xamarin.iOS.dll Support #892

pantaaron opened this issue Jun 13, 2017 · 3 comments
Assignees

Comments

@pantaaron
Copy link

I am hoping it is something I am looking over that is extremely obvious, but I can run just about any project with OmniSharp on Mac OS Sierra 10.12.5 with the exception of one with the Xamarin.iOS.dll in it. When I run it I get the error:

The reference assemblies for framework "Xamarin.iOS,Version=v1.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

I have the SDK installed and actually have access to the DLL in question- is there a way for me to include external DLLs like this in solutions run on OmniSharp? I tried just adding it to the GAC with gacutil -i Xamarin.iOS.dll which was given from mono-project but that did not work either. Anything to nudge me in the right direction would be appreciated. Thanks!

@willl
Copy link
Member

willl commented Jun 14, 2017

Hi @pantaaron, which version of omnisharp-roslyn have you got installed?

The netcore app version or the mono version?

While I have no experience with Xamarin.iOS.dll, my guess is that you need to have the mono version of omnisharp-roslyn installed to work with it.

@pantaaron
Copy link
Author

pantaaron commented Jun 14, 2017

Hey @willl, sorry for the lack of clarification, let me see if I can help shed some light.

Hi @pantaaron, which version of omnisharp-roslyn have you got installed?

The latest as of yesterday in the omnisharp-roslyn-dev stream. I am not sure how to determine the version as when I check the info on the project it just says 0.1 but I updated it yesterday and reran build.sh, which the output is the omnisharp I am using now.

The netcore app version or the mono version?

Mono version, which is the latest 5.0.1.1 and is currently the one I am using in Visual Studio for Mac (which is an editor I am not fond of).

@DustinCampbell
Copy link
Contributor

I've got a fix for this in PR here: #923.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants