forked from dotnet/fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot.traversal.targets
More file actions
21 lines (17 loc) · 1.2 KB
/
root.traversal.targets
File metadata and controls
21 lines (17 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<CustomProps>AssemblySearchPaths={HintPathFromItem};{TargetFrameworkDirectory};{RawFileName}</CustomProps>
</PropertyGroup>
<Target Name="Build">
<MSBuild Projects="@(ProjectFiles)" BuildInParallel="true" Targets="Build" Condition="'$(TargetPlatform)' == 'coreclr'" Properties="$(CustomProps)" />
<MSBuild Projects="@(ProjectFiles)" BuildInParallel="false" Targets="Build" Condition="'$(TargetPlatform)' != 'coreclr'" Properties="$(CustomProps)" />
</Target>
<Target Name="Rebuild">
<MSBuild Projects="@(ProjectFiles)" BuildInParallel="true" Targets="Rebuild" Condition="'$(TargetPlatform)' == 'coreclr'" Properties="$(CustomProps)" />
<MSBuild Projects="@(ProjectFiles)" BuildInParallel="false" Targets="Rebuild" Condition="'$(TargetPlatform)' != 'coreclr'" Properties="$(CustomProps)" />
</Target>
<Target Name="Clean">
<MSBuild Projects="@(ProjectFiles)" BuildInParallel="false" Targets="Clean" Properties="$(CustomProps)" />
</Target>
</Project>