Skip to content

Commit

Permalink
Adapt to current error format (#1397)
Browse files Browse the repository at this point in the history
As CSharpier currently does not output error messages in MSBuild
compatible format, adapt Exec options to current error format. Should
fix #1357.
  • Loading branch information
PetSerAl authored Dec 7, 2024
1 parent 75249e5 commit b48176e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
StdOutEncoding="utf-8"
StdErrEncoding="utf-8"
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true"
CustomErrorRegularExpression="^Error "
Command=""$(CSharpier_dotnet_Path)" exec "$(CSharpierDllPath)" $(CSharpierArgs) --no-msbuild-check --compilation-errors-as-warnings "$(MSBuildProjectDirectory)" > $(NullOutput) " />
</Target>

Expand Down

0 comments on commit b48176e

Please sign in to comment.