The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
Spined all modules "IoT Edge Simulator has been started in solution mode."
While trying to debug a module.
Exception has occurred: CLR/System.InvalidOperationException
An exception of type 'System.InvalidOperationException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Environment variable IOTEDGE_WORKLOADURI is required.'
Description.
Suggestion some assistance for debugging or some pointers to documentation.
I did
iotedgedev solution build -f deployment.debug.template.json
. .../config/deployment.debug.amd64.json got creatediotedgedev iothub setup
.iotedgedev simulator setup -i "HostName=myhub.azure.devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=xxxSaSxxx"
iotedgedev simulator start
iotedgedev simulator start
While trying to debug a module.
Exception has occurred: CLR/System.InvalidOperationException An exception of type 'System.InvalidOperationException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Environment variable IOTEDGE_WORKLOADURI is required.'