我真的找不到任何答案-在VSCode的Linux上,我已添加
<PropertyGroup> <PostBuildEvent>rm !(*.dll)</PostBuildEvent></PropertyGroup>
但是当我构建项目时,我得到了
(PostBuildEvent target) ->
/usr/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5167,5): error MSB3073: The command "rm !(*.dll)" exited with code 2.
如何在PostBuildEvent中正确调用rm?