Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Add the target to copy the serializer to publish folder. (#24096)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanwu authored Sep 17, 2017
1 parent b5d9447 commit f472d66
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@
<Message Text="Cleaning serialization files..." Importance="normal"/>
<Delete Condition="Exists('$(OutputPath)\$(SerializerName).dll') == 'true'" Files="$(OutputPath)\$(SerializerName).dll" />
</Target>
<Target Name="CopySerializer" AfterTargets="PrepareForPublish">
<Copy Condition="Exists('$(OutputPath)\$(AssemblyName).XmlSerializers.dll')=='true'" SourceFiles="$(OutputPath)\$(AssemblyName).XmlSerializers.dll" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="false" />
</Target>
</Project>

0 comments on commit f472d66

Please sign in to comment.