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

PhoneticMatchin Xamarin.Forms #16

Open
nielscup opened this issue Aug 22, 2019 · 3 comments
Open

PhoneticMatchin Xamarin.Forms #16

nielscup opened this issue Aug 22, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nielscup
Copy link

I was trying to use this package in on of our Xamarin.Forms projects, but I get build errors:

On Windows (building Android app):

  1. EnPhoneticFuzzyMatcher not found
  2. The Type or namespace "PhoneticMatching" does not exist

On Mac (building iOS app)

  1. Same as above
  2. Error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.

The packages are added correctly in all packages, without error or warnings. I have .Net Core 2.1.700 installed. If I add the packages to a Console app (.NET Core) everything works as expected.

Any ideas?

@Mmdixon
Copy link
Contributor

Mmdixon commented Aug 22, 2019

Hey @nielscup, I'm not too sure on those particular errors, but the nuget package adds the phonetic matching as a native dependency that only currently builds runtimes for linux-x64, osx-x64, win-x64.

So it would be missing the runtimes for android and iOS.

@Mmdixon Mmdixon added enhancement New feature or request help wanted Extra attention is needed labels Aug 22, 2019
@dommorin
Copy link
Contributor

Hi @nielscup,
Currently, PhoneticMatching only support the three platforms mentioned above. It seems we would need to change the target of the .NET wrapper (/src/cs/Microsoft.PhoneticMatching) to ".NET standard". .NET Core is not supported on Xamarin (https://devblogs.microsoft.com/cesardelatorre/net-core-1-0-net-framework-xamarin-the-whatand-when-to-use-it/)
Then you'd need to build the native maluuba library into platform-specific libraries and rebuild the nuget package. (https://docs.microsoft.com/en-us/xamarin/cross-platform/cpp/)

@nielscup
Copy link
Author

Thanks, sounds like a lot of work for now, I will try a different lib first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants