Skip to content

Commit

Permalink
Add the target to copy the serializer to publish folder. (dotnet#24096)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanwu authored and shmao committed Jan 2, 2018
1 parent e82739f commit 0e29bf8
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 0e29bf8

Please sign in to comment.