Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging, Source Not Found, AsyncExtensions.cs not found

Tags:

I am trying to debug a webjob on azure and I get the following error: Source Not Found, AsyncExtensions.cs not found.

I am working on VS 2015 and the webjob is part of an ASP.NET MVC solution deployed on Azure.

I had published the webjob by right-clicking on it and doing Publish as Azure webjob and selecting Debug configuration. I started debug by right-click on the webjob and selecting Debug, Start New Instance. When the execution reaches a problematic line, I get the error above instead of the error corresponding to the problematic line. This has happened on several different webjobs.

like image 946
donquijote Avatar asked Aug 26 '16 13:08

donquijote


1 Answers

I had the same issue and it is resolved by enabling the option Enable Just My Code in Debug → Options → Debugging → General.

like image 80
Praveen Avatar answered Oct 12 '22 09:10

Praveen