I' following this article to develop an IoT edge solution. But while debugging I'm getting the following error:
Unhandled Exception: System.AggregateException: One or more errors occurred. (Environment variable IOTEDGE_WORKLOADURI is required.) ---> System.InvalidOperationException: Environment variable IOTEDGE_WORKLOADURI is required.at Microsoft.Azure.Devices.Client.Edge.EdgeModuleClientFactory.CreateInternalClientFromEnvironmentAsync()
at SampleModule.Program.Init() in D:\IoT Arch POC\EdgeSolution2\modules\SampleModule\Program.cs:line 49
Found one post in git hub, but that is not helpful, this