Skip to content

Commit ab2a936

Browse files
authored
Merge pull request #303210 from bachuv/vabachu/analyzer-updates
Add information about the Durable Functions .NET Isolated Analyzer
2 parents 781541a + 766fb3a commit ab2a936

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

articles/azure-functions/durable/durable-functions-roslyn-analyzer.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,28 @@ title: Durable Functions Roslyn Analyzer (C# only)
33
description: Learn about how to use the Roslyn Analyzer to help adhere to Durable Functions specific code constraints.
44
author: amdeel
55
ms.topic: conceptual
6-
ms.date: 02/15/2023
6+
ms.date: 08/05/2025
77
ms.author: azfuncdf
88
---
99

1010
# Durable Functions Rosyln Analyzer (C# only)
1111

12-
The Durable Functions Roslyn Analyzer is a live code analyzer that guides C# users to adhere to Durable Functions specific [code constraints](./durable-functions-code-constraints.md). This analyzer is enabled by default to check your Durable Functions code and generate warnings and errors when there's any. Currently, the analyzer is only supported in the .NET in-process worker.
12+
The Durable Functions Roslyn Analyzer is a live code analyzer that guides C# users to adhere to Durable Functions specific [code constraints](./durable-functions-code-constraints.md). This analyzer is *enabled by default* to check your Durable Functions code and generate warnings and errors when there's any.
1313

14-
For more detailed information on the analyzer (improvements, releases, bug fixes, etc.), see its [release notes page](https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0).
14+
## .NET isolated analyzer
1515

16+
Find information (improvements, releases, bug fixes, etc.) about the Roslyn Analyzer for the NET isolated model on [the durabletask-dotnet release notes page](https://github.com/microsoft/durabletask-dotnet/releases).
1617

17-
## Configuration
18+
A list of shipped analyzer rules can be found in the [analyzer release notes](https://github.com/microsoft/durabletask-dotnet/blob/main/src/Analyzers/AnalyzerReleases.Shipped.md).
19+
20+
> [!NOTE]
21+
> The .NET Isolated Roslyn Analyzer is only available starting from [Microsoft.Azure.Functions.Worker.Extensions.DurableTask v1.6.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.DurableTask/1.6.0).
22+
23+
## .NET in-process analyzer
24+
25+
Information regarding the Roslyn Analyzer for the **in-process** model can be found on the [Analyzer v0.2.0 release page](https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0).
26+
27+
The following sections provide configuration instructions for more detailed analysis when using the .NET in-process analyzer.
1828

1929
### Visual Studio
2030

@@ -33,3 +43,4 @@ To disable the analyzer, refer to these [instructions](/visualstudio/code-qualit
3343
Open **Settings** by clicking the wheel icon on the lower left corner, then search for “rosyln”. “Enable Rosyln Analyzers” should show up as one of the results. Check the enable support box.
3444

3545
:::image type="content" source="media/durable-functions-best-practice/roslyn-analyzer-vs-code.png" alt-text="Screenshot of configuring Roslyn Analyzer in Visual Studio Code.":::
46+
::: zone-end

0 commit comments

Comments
 (0)