I am able to execute it via power shell . But not able to directly run from IOT Device raspberry pi. If there is not available option for execute Console Application from IOT device which is best alternative application platform for this? IS there any tools availables that convert Console application to Application that can be run on IOT device ?
2 Answers
If you want to directly run the console application when you are in develop, You can refer to this link to get the steps of running and debugging C++ console application on Windows IoT Core device. If you use visual Studio to develop your application, you can install Windows IoT Core Project Templates for VS 2017 and then build a background application. Background Applications are applications that have no direct UI(Headless). Once deployed and configured, these applications launch at machine startup and run continuously without any process lifetime management resource use limitations. Hope that can help you.
it's easiest to view console output from a visual c++ app if you launch the app from an ssh session. try using putty to connect to your raspberry pi, and then run your commands in the ssh session. Instructions here To determine whether your visual c++ app is compatible with Windows IoT, you should run the iot core porting tool which is available here