forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit-tools.msbuild
32 lines (30 loc) · 1.38 KB
/
init-tools.msbuild
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 Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.0</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<BaseIntermediateOutputPath>$(ToolsDir)/$(BuildToolsPackageVersion)</BaseIntermediateOutputPath>
<FeedTasksVersion>1.0.0-prerelease-02111-01</FeedTasksVersion>
<FeedTasksPackage>microsoft.dotnet.build.tasks.feed</FeedTasksPackage>
<PackageTargetFallback>$(PackageTargetFallback);netframework</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="microsoft.dotnet.buildtools">
<Version>$(BuildToolsPackageVersion)</Version>
</PackageReference>
<PackageReference Include="microsoft.dotnet.buildtools.coreclr">
<Version>1.0.4-prerelease</Version>
</PackageReference>
<PackageReference Include="$(FeedTasksPackage)">
<Version>$(FeedTasksVersion)</Version>
</PackageReference>
</ItemGroup>
<Target Name="CopyFeedTasks" AfterTargets="Restore" >
<ItemGroup>
<FilesToCopy Include="$(MSBuildThisFileDirectory)\packages\$(FeedTasksPackage)\$(FeedTasksVersion)\lib\**\*.*"/>
</ItemGroup>
<Copy SourceFiles="@(FilesToCopy)"
DestinationFiles="@(FilesToCopy->'$(ToolsDir)\$(FeedTasksPackage)\%(RecursiveDir)%(Filename)%(Extension)')"
/>
</Target>
</Project>