question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xamarin Forms Use

See original GitHub issue

Attempting to use this library in a Xamarin Forms mobile application and I’m getting the error:

Severity Code Description Project File Line Suppression State Error Could not install package 'libphonenumber-csharp 8.9.5'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile78', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Any obvious reasons for this, My assumption is that my project needs to be updated to support .net standard 2.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
twccleggcommented, May 16, 2018

I’ve gotten it to work in portable-net45+win 8+wp8+wpa81 locally, let me know if that works for people. I don’t know what if anything it will take to get it to build in appveyor, but if things go smoothly I should be able to include that in the next release.

0reactions
OKamericcommented, May 31, 2018

I am not experienced in writing libraries to access filesystem from PCL but this maybe could help with the issue: https://github.com/dsplaisted/PCLStorage It’s a bit outdated though. When trying to save/load file from the desired platform (android, ios, windows) I personally use dependency service.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin.Forms documentation
Xamarin.Forms lets you build native apps using a .NET cross-platform UI toolkit that targets the mobile, tablet, and desktop form factors on Android,...
Read more >
Xamarin.Forms Official Home
Xamarin.Forms provides a way to quickly build native apps for iOS, Android, Windows and macOS, completely in C#. Read more about the platform...
Read more >
Xamarin.Forms - Working With Effects
In this article, you will learn how to use Effect instead of Custom renderer in Xamarin.Forms.
Read more >
Xamarin.Forms (Cross Platform)
Xamarin.Forms is an open-source, cross-platform framework acquired by Microsoft for building Android, iOS, and windows app with .NET from a single shared ...
Read more >
Xamarin Forms - Accessing Platform-Specific ...
Forms is its support for native UI - you code the user interface of your application using Xamarin.Forms-specific forms and controls.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found