I asked the Python forum this question (https://community.esri.com/thread/226750-creating-a-python-extension-for-c-in-visualstudio ) but received no response. Perhaps this is a better forum to ask this:
In VS2017, I can use the Add-In wizard to create a custom ribbon Add-In using C#; no problem. What I'd like to do is, from within that C# button-click handling code, call different python METHODS (not the python exe). My various methods in python use arcpy so the Python runtime I use needs to be the one that supports arcpy and NOT IronPython.
How can I accomplish this? Thanks in advance for your help,
Brian