diff --git a/src/FSharp.Analyzers.Build/build/FSharp.Analyzers.Build.targets b/src/FSharp.Analyzers.Build/build/FSharp.Analyzers.Build.targets index 4c3768c..db55099 100644 --- a/src/FSharp.Analyzers.Build/build/FSharp.Analyzers.Build.targets +++ b/src/FSharp.Analyzers.Build/build/FSharp.Analyzers.Build.targets @@ -1,28 +1,33 @@ - - + + - - - + IgnoreExitCode="true" + Command="dotnet fsharp-analyzers --project "$(MSBuildProjectFile)" $(FSharpAnalyzersOtherFlags)" /> + + + true + true + true + + + + DependsOnTargets="_SetDesignTimePropertiesForFSharpAnalyzers;Restore;ResolveAssemblyReferencesDesignTime;ResolveProjectReferencesDesignTime;ResolvePackageDependenciesDesignTime;FindReferenceAssembliesForReferences;_GenerateCompileDependencyCache;_ComputeNonExistentFileProperty;BeforeBuild;BeforeCompile;CoreCompile;SetFSharpAnalyzersOtherFlags"> - + + - - - + IgnoreExitCode="true" + Command="dotnet fsharp-analyzers --fsc-args "@(FscCommandLineArgs)" $(FSharpAnalyzersOtherFlags)" />