diff options
author | Eric StJohn <ericstj@microsoft.com> | 2017-04-14 02:16:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-14 02:16:16 +0300 |
commit | 1f586976b5d110f49fb46d4c6a99a480090370a6 (patch) | |
tree | 38c8e9f212381323ae2b3a52ff6a149b6c399c87 /pkg | |
parent | 09de5a2ade5d60ad7ec71ef4197d5f634ae25bc7 (diff) | |
parent | 9213b06755f3f0074bb54d5085e79f7a0caaa289 (diff) |
Merge pull request #18341 from ericstj/emptyTargetsPkg
Lift Microsoft.NETCore.Targets to reduce v1 conflicts
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.builds | 8 | ||||
-rw-r--r-- | pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj | 19 | ||||
-rw-r--r-- | pkg/Microsoft.NETCore.Targets/runtime.json | 92 | ||||
-rw-r--r-- | pkg/frameworkPackage.targets | 9 |
4 files changed, 128 insertions, 0 deletions
diff --git a/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.builds b/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.builds new file mode 100644 index 0000000000..a280e2a666 --- /dev/null +++ b/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.builds @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> + <ItemGroup> + <Project Include="Microsoft.NETCore.Targets.pkgproj"/> + </ItemGroup> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" /> +</Project>
\ No newline at end of file diff --git a/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj b/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj new file mode 100644 index 0000000000..f8c9764de7 --- /dev/null +++ b/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> + + <PropertyGroup> + <PackageVersion>2.0.0</PackageVersion> + <SkipValidatePackage>true</SkipValidatePackage> + </PropertyGroup> + + <ItemGroup> + <!-- make this package installable and noop in a packages.config-based project --> + <File Include="$(PlaceHolderFile)"> + <TargetPath>lib/netstandard1.0</TargetPath> + </File> + + <File Include="runtime.json" /> + </ItemGroup> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/pkg/Microsoft.NETCore.Targets/runtime.json b/pkg/Microsoft.NETCore.Targets/runtime.json new file mode 100644 index 0000000000..925514c361 --- /dev/null +++ b/pkg/Microsoft.NETCore.Targets/runtime.json @@ -0,0 +1,92 @@ +{ + "supports": { + "uwp.10.0.app": { + "uap10.0": [ + "win10-x86", + "win10-x86-aot", + "win10-x64", + "win10-x64-aot", + "win10-arm", + "win10-arm-aot" + ] + }, + "net45.app": { + "net45": [ + "", + "win-x86", + "win-x64" + ] + }, + "net451.app": { + "net451": [ + "", + "win-x86", + "win-x64" + ] + }, + "net452.app": { + "net452": [ + "", + "win-x86", + "win-x64" + ] + }, + "net46.app": { + "net46": [ + "", + "win-x86", + "win-x64" + ] + }, + "net461.app": { + "net461": [ + "", + "win-x86", + "win-x64" + ] + }, + "net462.app": { + "net462": [ + "", + "win-x86", + "win-x64" + ] + }, + "netcoreapp1.0.app": { + "netcoreapp1.0": [ + "win7-x86", + "win7-x64", + "osx.10.11-x64", + "centos.7-x64", + "debian.8-x64", + "linuxmint.17-x64", + "opensuse.13.2-x64", + "rhel.7.2-x64", + "ubuntu.14.04-x64", + "ubuntu.16.04-x64" + ] + }, + "win8.app": { + "win8": "" + }, + "win81.app": { + "win81": "" + }, + "wp8.app": { + "wp8": "" + }, + "wp81.app": { + "wp81": "" + }, + "wpa81.app": { + "wpa81": "" + }, + "dnxcore50.app": { + "dnxcore50": [ + "win7-x86", + "win7-x64" + ] + } + } + } + diff --git a/pkg/frameworkPackage.targets b/pkg/frameworkPackage.targets index 11d880d8bf..a919487246 100644 --- a/pkg/frameworkPackage.targets +++ b/pkg/frameworkPackage.targets @@ -43,6 +43,15 @@ <Version>$(PlatformPackageVersion)</Version> <TargetFramework>$(TargetFramework)</TargetFramework> </Dependency> + + <!-- Include the update to v1 lineup package, which now has no runtime package mappings. + This will reduce the number of packages downloaded when mixing v1 and later + packages as well as reduce our dependence on conflict resolution for dropping + those v1 runtime packages --> + <Dependency Condition="'$(IsLineupPackage)' == 'true'" Include="Microsoft.NETCore.Targets"> + <Version>2.0.0</Version> + <TargetFramework>$(TargetFramework)</TargetFramework> + </Dependency> </ItemGroup> <!-- Bring in lib content from binplaced lib props --> |