Skip to content

Commit

Permalink
Adapt to current error format (belav#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 belav#1357.
  • Loading branch information
PetSerAl authored and pisolofin committed Dec 14, 2024
1 parent ac17ec1 commit 4eb21ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/CSharpier.MsBuild/build/CSharpier-Config.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 4eb21ff

Please sign in to comment.