diff options
author | Eric St. John <ericstj@microsoft.com> | 2016-02-24 07:18:17 +0300 |
---|---|---|
committer | Eric St. John <ericstj@microsoft.com> | 2016-02-24 07:18:17 +0300 |
commit | 4435f9f2776ae007e05f4454675e56cf76a51975 (patch) | |
tree | 7b3ea7416654220750946b02fce952b269a7692f /src/System.Runtime.WindowsRuntime/ref | |
parent | e5e7e23fe52188e3d09470bc51fd0d80f8d2354f (diff) |
Rename "dotnet" to "NETStandard"
Fixes https://github.com/dotnet/corefx/issues/5707
We are changing the .NET packages to no longer use the ‘dotnet’, ‘dotnet5.x’, and ‘dnxcore50’ monikers. This is thee first stage of the change for dotnet->netstandard.
The replacements are as follows
Old moniker | New moniker
----------------- | ------------------
dotnet5.x | netstandard1.y (where y = x -1)
DNXCore50 | netstandardapp1.5
dotnet | netstandard1.3
To prepare for this change you can do the following to your project.json. This change will require a recent build of NuGet or dotnet.exe and can be done prior to consuming the packages with the breaking change. These packages will not work with DNX.
For a project targeting dotnet5.6
```
"frameworks": {
"netstandard1.5": {
"imports": [ "dotnet5.6" ]
}
},
```
For a project targeting dnxcore50
```
"frameworks": {
"netstandardapp1.5": {
"imports": [ "dnxcore50", "portable-net45+win8" ]
}
},
```
[tfs-changeset: 1578321]
Diffstat (limited to 'src/System.Runtime.WindowsRuntime/ref')
4 files changed, 16 insertions, 8 deletions
diff --git a/src/System.Runtime.WindowsRuntime/ref/4.0.0/System.Runtime.WindowsRuntime.depproj b/src/System.Runtime.WindowsRuntime/ref/4.0.0/System.Runtime.WindowsRuntime.depproj index 66b3818eba..f1c59486ed 100644 --- a/src/System.Runtime.WindowsRuntime/ref/4.0.0/System.Runtime.WindowsRuntime.depproj +++ b/src/System.Runtime.WindowsRuntime/ref/4.0.0/System.Runtime.WindowsRuntime.depproj @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build"> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <PropertyGroup> <AssemblyVersion>4.0.0.0</AssemblyVersion> <OutputType>Library</OutputType> - <PackageTargetFramework>dotnet5.1</PackageTargetFramework> - <NuGetTargetMoniker>.NETPlatform,Version=v5.1</NuGetTargetMoniker> + <PackageTargetFramework>netstandard1.0</PackageTargetFramework> + <NuGetTargetMoniker>.NETStandard,Version=v1.0</NuGetTargetMoniker> </PropertyGroup> <ItemGroup> <None Include="project.json" /> diff --git a/src/System.Runtime.WindowsRuntime/ref/4.0.0/project.json b/src/System.Runtime.WindowsRuntime/ref/4.0.0/project.json index 28a49604ee..db30218429 100644 --- a/src/System.Runtime.WindowsRuntime/ref/4.0.0/project.json +++ b/src/System.Runtime.WindowsRuntime/ref/4.0.0/project.json @@ -3,6 +3,10 @@ "System.Runtime.WindowsRuntime": "4.0.0" }, "frameworks": { - "dotnet5.1": {} + "netstandard1.0": { + "imports": [ + "dotnet5.1" + ] + } } }
\ No newline at end of file diff --git a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj index 7304e6c666..a2ea5c943a 100644 --- a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj +++ b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build"> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <PropertyGroup> @@ -15,8 +15,8 @@ <NoWarn>1698</NoWarn> <AssemblyVersion>4.0.11.0</AssemblyVersion> <OutputType>Library</OutputType> - <PackageTargetFramework>dotnet5.3</PackageTargetFramework> - <NuGetTargetMoniker>.NETPlatform,Version=v5.3</NuGetTargetMoniker> + <PackageTargetFramework>netstandard1.2</PackageTargetFramework> + <NuGetTargetMoniker>.NETStandard,Version=v1.2</NuGetTargetMoniker> </PropertyGroup> <ItemGroup> <Compile Include="System.Runtime.WindowsRuntime.cs" /> diff --git a/src/System.Runtime.WindowsRuntime/ref/project.json b/src/System.Runtime.WindowsRuntime/ref/project.json index e8d5545390..479f26e0f0 100644 --- a/src/System.Runtime.WindowsRuntime/ref/project.json +++ b/src/System.Runtime.WindowsRuntime/ref/project.json @@ -7,6 +7,10 @@ "System.Threading.Tasks": "4.0.0" }, "frameworks": { - "dotnet5.3": {} + "netstandard1.2": { + "imports": [ + "dotnet5.3" + ] + } } }
\ No newline at end of file |