Advertisement
imjyb1008work

VS AfterBuild

Oct 15th, 2019
2,830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.49 KB | None | 0 0
  1. <Target Name="CopyRoslynFiles" AfterTargets="AfterBuild" Condition="!$(Disable_CopyWebApplication) And '$(OutDir)' != '$(OutputPath)'">
  2.     <ItemGroup>
  3.       <RoslynFiles Include="$(CscToolPath)\*" />
  4.     </ItemGroup>
  5.     <MakeDir Directories="$(WebProjectOutputDir)\bin\roslyn" />
  6.     <Copy SourceFiles="@(RoslynFiles)" DestinationFolder="$(WebProjectOutputDir)\bin\roslyn" SkipUnchangedFiles="true" Retries="$(CopyRetryCount)" RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" />
  7.   </Target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement