fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
761 stars 190 forks source link

Integrate analyzers via msbuild #2968

Closed dawedawe closed 8 months ago

dawedawe commented 8 months ago

The sarif file upload might not work yet. Let's try with a wildcard first and then go to a directory to collect all sarif files and upload that.

nojaf commented 8 months ago

--report "..\..\analysisreports\$(MSBuildProjectName)-analysis.sarif"

nojaf commented 8 months ago

@dawedawe The reason I want to set DOTNET_ROLL_FORWARD_TO_PRERELEASE and DOTNET_ROLL_FORWARD in the target is that doing this allows for dotnet msbuild /t:AnalyzeSolution to just work from the command line.