Remove vbc in a target

This commit is contained in:
Piotr Puszkiewicz 2017-02-28 19:04:47 -08:00
parent a1d27b6843
commit 28d83da782
2 changed files with 9 additions and 6 deletions

View file

@ -22,12 +22,6 @@
Configuration="$(Configuration)" Configuration="$(Configuration)"
ProjectPath="$(RootProject)" /> ProjectPath="$(RootProject)" />
<ItemGroup>
<FilesToClean Include="$(OutputDirectory)/sdk/**/vbc.exe" />
</ItemGroup>
<Delete Files="@(FilesToClean)" />
<ItemGroup> <ItemGroup>
<FilesToCopy Include="$(OutputDirectory)/**/*" /> <FilesToCopy Include="$(OutputDirectory)/**/*" />
<PdbsToClean Include="$(OutputDirectory)/sdk/**/*.pdb" /> <PdbsToClean Include="$(OutputDirectory)/sdk/**/*.pdb" />

View file

@ -169,4 +169,13 @@
<Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" /> <Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" />
<Chmod Mode="755" Glob="$(SdkOutputDirectory)/Roslyn/RunCsc.sh" /> <Chmod Mode="755" Glob="$(SdkOutputDirectory)/Roslyn/RunCsc.sh" />
</Target> </Target>
<Target Name="RemoveVbc"
AfterTargets="CrossgenPublishDir">
<ItemGroup>
<_VbcPath Include="$(OutputDirectory)/sdk/**/vbc.exe" />
</ItemGroup>
<Delete Files="@(_VbcPath)" />
</Target>
</Project> </Project>