Error- Unable to build Orchestration project when everything appears fine
Error:
I was getting weird errors while trying to build an orchestration project. When I checked the code everything was alright. I spent a lot of time troubleshooting.
Root cause:
I had added this line of code in the catch block.
instanceId = System.Convert.ToString(Microsoft.XLANGs.Core.Service.RootService.InstanceId);
In some cases, I had to add a space after the semicolon. In other cases, I had to remove the space after the semicolon and I had to build the project and that worked. This issue was not easy to troubleshoot.
Comments
Post a Comment