-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels