-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.targets
32 lines (26 loc) · 1.56 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project>
<Target Name="_ReleaseBinaryCopy"
Condition=" !'$(IsTestProject)' And '$(IsPackable)' "
BeforeTargets="AfterBuild">
<PropertyGroup>
<!-- <BinariesFolderName>Nunit</BinariesFolderName>
<BinariesFolderName Condition=" '$(IsUnityProject)' ">Unity</BinariesFolderName>
<BinariesFolderName Condition=" '$(IsDryIocProject)' ">DryIoc</BinariesFolderName>
<BinariesFolderName Condition=" '$(IsPrismFormsProject)' ">$(BinariesFolderName).PrismForms</BinariesFolderName> -->
<BinariesFolderName>$(AssemblyName)</BinariesFolderName>
<ArtifactStaging>$([System.IO.Path]::Combine('$(ArtifactStagingRoot)', $(Configuration), '$(BinariesFolderName)', '$(TargetFramework)'))</ArtifactStaging>
</PropertyGroup>
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll"
DestinationFolder="$(ArtifactStaging)"
Condition=" Exists('$(OutputPath)$(AssemblyName).dll') " />
<Copy SourceFiles="$(OutputPath)$(AssemblyName).xml"
DestinationFolder="$(ArtifactStaging)"
Condition=" Exists('$(OutputPath)$(AssemblyName).xml') " />
<Copy SourceFiles="$(OutputPath)$(AssemblyName).pdb"
DestinationFolder="$(ArtifactStaging)"
Condition=" Exists('$(OutputPath)$(AssemblyName).pdb') " />
<Copy SourceFiles="$(OutputPath)$(AssemblyName).pri"
DestinationFolder="$(ArtifactStaging)"
Condition=" Exists('$(OutputPath)$(AssemblyName).pri') " />
</Target>
</Project>