Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

using MathFuncs [Error CS0246] [cpp_with_xamarin] #35

Open
pfavvatas opened this issue Sep 12, 2019 · 1 comment
Open

using MathFuncs [Error CS0246] [cpp_with_xamarin] #35

pfavvatas opened this issue Sep 12, 2019 · 1 comment

Comments

@pfavvatas
Copy link

Hello there!
I followed the instructions step by step, but Xamarin project could not see the namespace MathFuncs that you made on files .so and .a, as well.
Because of that I can not use "using MathFuncs" and I get always that error.
Could you help me, please?

/Users/.../Projects/MathFuncsApp/MathFuncsApp/MainPage.xaml.cs(3,3): Error CS0246: The type or namespace name 'MyMathFuncs' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (MathFuncsApp)

@pfavvatas
Copy link
Author

I think I figured out.
If you do the step.2 from Native references for MathFuncs.iOS, then .a file moves to Shared Library project from cpp folder and you should run again the .sh script to recreate the .a file.
Is it a bug from vsmac or my fault?

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

No branches or pull requests

1 participant