Hello
I've added native reference to mac project. Can you tell me how to use it in program?
Added IntelPowerGadget.framework which i used before in xcode projects.
Just cannot figure out how to use it.Thank you.
Assuming you want to call native code in an native framework, you should look into binding project:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/overview
and the sample:
https://github.com/xamarin/mac-samples/tree/master/XMBindingExample
This document is iOS specific, but might also be useful to read: https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=macos
Answers
Assuming you want to call native code in an native framework, you should look into binding project:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/overview
and the sample:
https://github.com/xamarin/mac-samples/tree/master/XMBindingExample
This document is iOS specific, but might also be useful to read: https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=macos