mobcat icon indicating copy to clipboard operation
mobcat copied to clipboard

using MathFuncs [Error CS0246] [cpp_with_xamarin]

Open pfavvatas opened this issue 5 years ago • 1 comments

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 avatar Sep 12 '19 13:09 pfavvatas

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?

pfavvatas avatar Sep 12 '19 14:09 pfavvatas