Did you ever figure this out? I am having the same issue currently. I don't think the executable is the answer but I think it is close. I think it would be better to create a dll for the Mathematica function and then reference it using Visual Studio. However, the issue that I am having is that Visual Studio really wants a C++ dll and the one that Mathematica outputs is a C dll.