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

Reference issue with monotouch.dll #9

Open
tgrimmer opened this issue Aug 1, 2017 · 3 comments
Open

Reference issue with monotouch.dll #9

tgrimmer opened this issue Aug 1, 2017 · 3 comments

Comments

@tgrimmer
Copy link

tgrimmer commented Aug 1, 2017

When I try to create a demo like you provide I get the following error when trying to build the project:

"error MT0034: Cannot reference 'monotouch.dll' in a Xamarin.iOS project - it is implicitly referenced by 'FontAwesome.Xamarin, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'."

I replaced the line

label.Font = FontAwesome.Font(100)

with

label.Font = UIFont.FromName("FontAwesome", 30);

which is pretty much the same as FontAwesome is doing of course ;-)
Issue is when using the second line there is no build issue BUT when using the first line I get the build error. Seems that that the nuget package references an other monotouch assembly as the normal project.

I installed FontAwesome from nugetPackage as version 4.0.3.

Environment:
=== Visual Studio Community 2017 for Mac ===

Version 7.0.1 (build 24)
Runtime:
Mono 5.0.1.1 (2017-02/5077205) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 500010001

=== Apple Developer Tools ===

Xcode 8.3.3 (12175.1)
Build 8E3004b

=== Xamarin.iOS ===

Version: 10.10.0.36 (Visual Studio Community)
Hash: d2270eec
Branch: d15-2
Build date: 2017-05-22 16:30:53-0400

=== Xamarin.Mac ===

Version: 3.4.0.36 (Visual Studio Community)

=== Build Information ===

Release ID: 700010024
Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9
Build date: 2017-05-19 05:44:51-04
Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93
Build lane: monodevelop-lion-d15-2

=== Operating System ===

Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

@neilkennedy
Copy link
Owner

Hi,

I don't have this on nuget, so I don't think it is this version of FontAwesome that you're using. I'm also not officially supporting this anymore, but I have been merging pull requests from people who tend to keep it up to date.

@tgrimmer
Copy link
Author

tgrimmer commented Aug 2, 2017

Hi,

ok thanks for the reply. I thought this project is the same as the nuget one.
So I will look for the "real" supplier of this nuget package.

Best regards :-)

@joehanna
Copy link

Hey @tgrimmer, any luck tracking down the dev that published this project to nuget? I have sent them a message but not heard back yet.

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

No branches or pull requests

3 participants