Roslyn-analyzers: The feature "flow-analysis" is deactivated

Created on 11 Jan 2019  路  2Comments  路  Source: dotnet/roslyn-analyzers

Analyzer package

Example: Microsoft.CodeQuality.Analyzers

Package Version

Example: v2.9.0-beta1-63118-01 and v2.6.3

Diagnostic ID

Example: AD0001

Repro steps

I have no idea, why this error occurs.

Expected behavior

None, I guess.

Actual behavior

Throwing a couple of System.InvalidOperationException in different methods with the message

The feature "flow-analysis" is deactivated

I have no idea, where to activate that feature or where to find that feature and couldn't find a solution

Most helpful comment

You can add the following property group to your MSBuild project file:

<PropertyGroup>
  <Features>flow-analysis</Features>
</PropertyGroup>

All 2 comments

You can add the following property group to your MSBuild project file:

<PropertyGroup>
  <Features>flow-analysis</Features>
</PropertyGroup>

You can add the following property group to your MSBuild project file:

<PropertyGroup>
  <Features>flow-analysis</Features>
</PropertyGroup>

While that solves the problem, where is it documented? And even if documented somewhere, I think it is a bad user experience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulomorgado picture paulomorgado  路  3Comments

paulomorgado picture paulomorgado  路  3Comments

paulomorgado picture paulomorgado  路  3Comments

fschlaef picture fschlaef  路  4Comments

paulomorgado picture paulomorgado  路  3Comments