Skip to content

Commit

Permalink
Ensure csharpier formatting happens before compiling so that breakpoi…
Browse files Browse the repository at this point in the history
…nts work properly

closes #674
  • Loading branch information
belav committed May 23, 2022
1 parent 0e833f8 commit b7e4c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- Target invokes the copy of csharpier from this package on the current project -->
<Target
Name="CSharpierFormat"
BeforeTargets="Build">
BeforeTargets="CoreCompile">
<Exec Command="dotnet $(CSharpierDllPath) $(CSharpierArgs) $(MSBuildProjectDirectory)" />
</Target>
</Project>

0 comments on commit b7e4c41

Please sign in to comment.