Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.943 kB
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Build sequence modification -->
<Target Name="CopyAutoMapperAssembly"
AfterTargets="ResolveAssemblyReferences">
<CreateItem Include="%(ReferencePath.FullPath)"
Condition="$([System.String]::new('%(ReferencePath.Filename)').StartsWith('AutoMapper.'))">
<Output TaskParameter="Include"
ItemName="_AutoMapperReference"/>
</CreateItem>
<Message Importance="low" Text="AutoMapper Platform Extension Assembly: %(_AutoMapperReference.FullPath)"/>
<ItemGroup>
<None Include="$([MSBuild]::MakeRelative($(MSBuildProjectDirectory), %(_AutoMapperReference.FullPath)))" Condition="'%(_AutoMapperReference.FullPath)' != ''">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Target>
</Project>
Jump to Line
Something went wrong with that request. Please try again.