Docs suggest:
<Target Name="FSharpLint" AfterTargets="BeforeBuild">
<Exec
Command="dotnet fsharplint -f msbuild lint --lint-config $(MSBuildThisFileDirectory)/fsharplint.json $(MSBuildProjectFullPath)"
ConsoleToMsBuild="true"
IgnoreExitCode="false"
/>
</Target>
but the Ionide.ProjInfo then it gathers project information and executes such targets for that:
ResolveAssemblyReferencesDesignTime
ResolveProjectReferencesDesignTime
ResolvePackageDependenciesDesignTime
FindReferenceAssembliesForReferences
_GenerateCompileDependencyCache
_ComputeNonExistentFileProperty
BeforeBuild
BeforeCompile
CoreCompile
which causes circular execution.
Trying to call linting in a command line, having such a target hangs my PC
@Numpsy, @TheAngryByrd do you know if it is possible to suppress Ionide.ProjInfo of executing any targets?
Docs suggest:
but the
Ionide.ProjInfothen it gathers project information and executes such targets for that:which causes circular execution.
Trying to call linting in a command line, having such a target hangs my PC
@Numpsy, @TheAngryByrd do you know if it is possible to suppress
Ionide.ProjInfoof executing any targets?