The role of workers continues to be reworked after the October 2012 update

I updated the working solution to use the October 2012 release. Since then, my work roles have continued to be reworked. I cannot hit breakpoints in either OnStart, OnStop, or Run.

the web role is working properly.

I have activated all exceptions for debugging and nothing seems to be caught. as if the roles performed in the instances are the default roles, not my code.

anyone has insight

+4
source share
1 answer

The problem was that I updated my solution to use the latest version of the Windows Azure SDK. I moved from 1.7 to 1.8.

But links to "Microsoft.WindowsAzure.ServiceRuntime" still pointed to 1.7. SDKs are installed on the side of the site and are not connected to each other.

Since the versions did not match my code, which was never played by roles in the emulator and on the azure windows. The code that was executed was the default Role implementation, and the Run method continued to complete, in turn, forcing this role to maintain recirculation.

+2
source

Source: https://habr.com/ru/post/1443713/


All Articles