Skip to content

Commit 1c1f5ee

Browse files
committed
Optimize target commands
1 parent 1ad130b commit 1c1f5ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/modules/build.common.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<Message Importance="normal" Text="Running format checks..." />
1818

19-
<Exec Command='dotnet format "$(MSBuildProjectFile)" --verify-no-changes'
19+
<Exec Command='dotnet format "$(MSBuildProjectFile)" --verify-no-changes --no-restore -v normal'
2020
WorkingDirectory="$(MSBuildProjectDirectory)"
2121
ContinueOnError="false" />
2222

@@ -33,7 +33,7 @@
3333

3434
<Message Importance="normal" Text="Running package vulnerability checks..." />
3535

36-
<Exec Command='dotnet list "$(MSBuildProjectFile)" package --vulnerable'
36+
<Exec Command='dotnet list "$(MSBuildProjectFile)" package --vulnerable -v normal -f $(TargetFramework)'
3737
WorkingDirectory="$(MSBuildProjectDirectory)"
3838
ContinueOnError="false" />
3939

0 commit comments

Comments
 (0)