Durable Azure Function created with .Net6 (VS2022) running locally giving Source Not Found

Amit Khot 1 Reputation point
2022-06-02T17:09:23.403+00:00

I have created an Azure Durable Function with below versions.
.Net=> .Net6

Azure Function=> V4

Microsft.Azure.WebExtensions.DurableTask => 2.7.2

Microsoft.NET.Sdk.Functions=>4.1.1

While trying to run boilerplate code created with function, its asking to download source link file from internet.

If I don't download source link file from internet its showing Source Not Found tab while debugging for (FunctionInvoker.cs, FunctionExecutor.cs etc) cs files.

If I download source and continuing debugging the control going inside the cs files downloaded from the source link.

Is download and continue debugging is the right option and how to suppress the debugging in the source link downloaded file, as I am not interested in every time debug from SourceLink Files.

Please suggest better options if there are any apart from this to create durable function.
Any quick help much appreciated. Thank you in Advance..!!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,910 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,506 Reputation points
    2022-06-07T10:57:59.017+00:00

    Hi @Amit Khot ,

    Thanks for reaching out to Q&A forum.

    Are you referring to symbol files that are being downloaded?

    If they are symbol files, you can prevent them from downloading by disabling it from Visual Studio debug settings. Please refer the below articles for more details

    https://devblogs.microsoft.com/devops/understanding-symbol-files-and-visual-studios-symbol-settings/#configuring-visual-studios-settings

    https://stackoverflow.com/questions/3740613/how-to-disable-symbol-loading-when-debugging-a-visual-c-program

    I hope this helps! Feel free to reach out to me if you have any queries or concerns.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.