-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAfter.Microsoft.Common.User.Targets.sample
More file actions
52 lines (49 loc) · 2.33 KB
/
After.Microsoft.Common.User.Targets.sample
File metadata and controls
52 lines (49 loc) · 2.33 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<!--
======================================================
Common user file which is run after MS targets
======================================================
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<!-- Custom settings -->
<PropertyGroup>
<BuildDependsOn>
$(BuildDependsOn);
DeployAfterBuild
</BuildDependsOn>
</PropertyGroup>
<ItemGroup>
<DllDeploy Include="TKOPD">
<Path>$(RootPath)\..\..\..\..\Elligo\TKOPD.Demo\trunk\lib\net\3.5\rod.Commons\$(Configuration)</Path>
<Include>$(TargetDir)$(TargetName).*</Include>
<Exclude>$(TargetDir)*Tests.*</Exclude>
</DllDeploy>
<DllDeploy Include="nGrape">
<Path>$(RootPath)\..\..\..\..\Elligo\nGrape\trunk\lib\net\3.5\rod.Commons\$(Configuration)</Path>
<Include>$(TargetDir)$(TargetName).*</Include>
<Exclude>$(TargetDir)*Tests.*</Exclude>
</DllDeploy>
<DllDeploy Include="Sun.Interfaces.Commons">
<Path>$(RootPath)\..\..\..\..\Hogart\Sun\Interfaces\Commons\trunk\lib\net\2.0\rod.Commons\$(Configuration)</Path>
<Include>$(TargetDir)rod.Commons.System.dll</Include>
<Exclude>$(TargetDir)*Tests.*</Exclude>
</DllDeploy>
<DllDeploy Include="Rez2Sun">
<Path>$(RootPath)\..\..\..\..\Hogart\Sun\Interfaces\Rez2Sun\trunk\lib\net\2.0\rod.Commons\$(Configuration)</Path>
<Include>$(TargetDir)rod.Commons.System.dll</Include>
<Exclude>$(TargetDir)*Tests.*</Exclude>
</DllDeploy>
</ItemGroup>
<!-- Copy to multiply target folders excluding tests -->
<!-- http://blogs.parivedasolutions.com/borrell/archive/2007/05/19/MSBuildMultipleDeployments.aspx -->
<Target Name="DeployAfterBuild">
<CreateItem Include="%(DllDeploy.Include)" Exclude="%(DllDeploy.Exclude)" AdditionalMetadata="ToDir=%(DllDeploy.Path)">
<Output ItemName="DllFilesToDeploy" TaskParameter="Include"/>
</CreateItem>
<Copy
SourceFiles="@(DllFilesToDeploy)"
DestinationFolder="%(ToDir)\%(RecursiveDir)"
ContinueOnError="true"
/>
</Target>
</Project>