Skip to content

Commit 7c85d63

Browse files
committed
Improve formatting and comments in MsBuildExample.fsproj for clarity on analyzer settings
1 parent cdaa7b2 commit 7c85d63

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

samples/MsBuildExample/MsBuildExample.fsproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../../src/FSharp.Analyzers.Build/buildMultitargeting/FSharp.Analyzers.Build.targets" />
23

3-
<Import Project="../../src/FSharp.Analyzers.Build/buildMultitargeting/FSharp.Analyzers.Build.targets" />
4-
5-
64
<PropertyGroup>
5+
<!-- Set this to true if you'd like the analyzer to run during a build -->
76
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
7+
<!-- Additional flags to pass to the analyzer CLI -->
88
<FSharpAnalyzersOtherFlags>--analyzers-path "../../artifacts/bin/OptionAnalyzer/debug" -v d</FSharpAnalyzersOtherFlags>
9+
<!-- Point to the dotnet tool or the FSharp.Analyzers.Cli.dll for debugging. -->
910
<FSharpAnalyzersExe>../../artifacts/bin/FSharp.Analyzers.Cli/debug/FSharp.Analyzers.Cli.dll</FSharpAnalyzersExe>
11+
<!-- Uncomment to always run the analyzer after a build, even if CoreCompile did not run -->
1012
<!-- <FSharpAnalyzersAlwaysRunAfterBuild>true</FSharpAnalyzersAlwaysRunAfterBuild> -->
1113
</PropertyGroup>
1214

0 commit comments

Comments
 (0)