Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Fixing packages of S.Runtime, S.R.S.Primitives and S.R.S.Formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr committed Aug 15, 2016
1 parent 90be359 commit 17aa557
Show file tree
Hide file tree
Showing 36 changed files with 167 additions and 57 deletions.
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.26-prerelease-00629-09
1.0.26-prerelease-00708-05
3 changes: 2 additions & 1 deletion src/System.Data.Common/pkg/ValidationSuppression.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
PermitImplementation=.NETCore,Version=v4.5;WindowsPhone,Version=v8.0
PermitImplementation=.NETCore,Version=v4.5;WindowsPhone,Version=v8.0
SuppressNETStandardInference=.NETCore,Version=v4.5;WindowsPhone,Version=v8.0
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@
<ItemGroup Condition="'$(UseContractReferences)' == ''" >
<ProjectReference Include="..\..\src\System.Private.Xml.csproj" />
<ProjectReference Include="..\..\..\System.Private.Xml.Linq\src\System.Private.Xml.Linq.csproj" />
<ProjectReference Include="..\..\..\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj" />
<ProjectReference Include="..\..\..\System.Runtime.Serialization.Primitives\src\System.Runtime.Serialization.Primitives.csproj" />
<ProjectReference Include="..\..\..\System.Xml.XmlSerializer\src\System.Xml.XmlSerializer.csproj" />
<ProjectReference Include="..\..\..\System.Xml.ReaderWriter\src\System.Xml.ReaderWriter.csproj" />
<ProjectReference Include="..\..\..\System.Xml.XmlDocument\src\System.Xml.XmlDocument.csproj" />
<ProjectReference Include="..\..\..\System.Xml.XDocument\src\System.Xml.XDocument.csproj" />
<ProjectReference Include="..\..\..\System.Private.DataContractSerialization\pkg\System.Private.DataContractSerialization.pkgproj" />
<ProjectReference Include="..\..\..\System.Runtime.Serialization.Primitives\pkg\System.Runtime.Serialization.Primitives.pkgproj" />
<ProjectReference Include="..\..\..\Microsoft.Win32.Registry\pkg\Microsoft.Win32.Registry.pkgproj" />
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<ItemGroup>
<ProjectReference Include="..\ref\System.Runtime.Serialization.Formatters.csproj">
<SupportedFramework>net46;netcore50;netcoreapp1.0;$(AllXamarinFrameworks)</SupportedFramework>
<SupportedFramework>net463;netcoreapp1.1;$(AllXamarinFrameworks)</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\src\System.Runtime.Serialization.Formatters.builds" />
<InboxOnTargetFramework Include="MonoAndroid10" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<PropertyGroup>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<OutputType>Library</OutputType>
<PackageTargetFramework>netstandard1.5</PackageTargetFramework>
<NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
<PackageTargetFramework>netstandard1.7</PackageTargetFramework>
<NuGetTargetMoniker>.NETStandard,Version=v1.7</NuGetTargetMoniker>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Runtime.Serialization.Formatters.cs" />
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
<!-- ToDo: Remove this project references as they should go in project.json instead once the packages are pushed. -->
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Serialization.Primitives\ref\System.Runtime.Serialization.Primitives.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/System.Runtime.Serialization.Formatters/ref/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"System.Runtime.Serialization.Primitives": "4.1.1"
},
"frameworks": {
"netstandard1.3": {
"netstandard1.7": {
"imports": [
"dotnet5.4"
"dotnet5.8"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ItemGroup>
<Project Include="System.Runtime.Serialization.Formatters.csproj" />
<Project Include="System.Runtime.Serialization.Formatters.csproj">
<TargetGroup>net46</TargetGroup>
<TargetGroup>net463</TargetGroup>
</Project>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- rev'ed to 4.0.1.0 even though 4.0.0.0 never shipped so that we can drop pre-release down to beta -->
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<RootNamespace>System.Runtime.Serialization.Formatters</RootNamespace>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'net46'">true</IsPartialFacadeAssembly>
<PackageTargetFramework Condition="'$(PackageTargetFramework)' == ''">netstandard1.4</PackageTargetFramework>
<NuGetTargetMoniker Condition="'$(TargetGroup)' == ''">.NETStandard,Version=v1.4</NuGetTargetMoniker>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'net463'">true</IsPartialFacadeAssembly>
<PackageTargetFramework Condition="'$(PackageTargetFramework)' == ''">netstandard1.7</PackageTargetFramework>
<NuGetTargetMoniker Condition="'$(TargetGroup)' == ''">.NETStandard,Version=v1.7</NuGetTargetMoniker>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
Expand Down Expand Up @@ -64,8 +64,13 @@
<Compile Include="System\Runtime\Serialization\Formatters\Binary\BinaryObjectWriter.cs" />
<Compile Include="System\Runtime\Serialization\Formatters\Binary\BinaryParser.cs" />
<Compile Include="System\Runtime\Serialization\Formatters\Binary\BinaryUtilClasses.cs" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Serialization.Primitives\ref\System.Runtime.Serialization.Primitives.csproj" />
<!-- ToDo: remove these P2P references once they are pushed -->
<ProjectReference Include="../../System.Runtime/pkg/System.Runtime.pkgproj">
<Name>System.Runtime</Name>
</ProjectReference>
<ProjectReference Include="../../System.Runtime.Serialization.Primitives/pkg/System.Runtime.Serialization.Primitives.pkgproj">
<Name>System.Runtime.Serialization.Primitives</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
Expand Down
7 changes: 4 additions & 3 deletions src/System.Runtime.Serialization.Formatters/src/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"frameworks": {
"netstandard1.4": {
"netstandard1.7": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1",
"System.Collections": "4.0.10",
Expand All @@ -14,14 +14,15 @@
"System.Runtime": "4.0.20",
"System.Runtime.Extensions": "4.0.10",
"System.Runtime.Serialization.Primitives": "4.2.0-beta-devapi-24415-01",
"System.Globalization": "4.0.12-beta-devapi-24415-01",
"System.Text.Encoding.Extensions": "4.0.10",
"System.Threading": "4.0.10"
},
"imports": [
"dotnet5.5"
"dotnet5.8"
]
},
"net46": {
"net463": {
"dependencies": {
"Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<ItemGroup>
<Project Include="System.Runtime.Serialization.Formatters.Tests.csproj"/>
<Project Include="System.Runtime.Serialization.Formatters.Tests.csproj">
<TestTFMs>net46</TestTFMs>
<TestTFMs>netcoreapp1.1</TestTFMs>
</Project>
<Project Include="System.Runtime.Serialization.Formatters.Tests.csproj">
<TestTFMs>net463</TestTFMs>
<OSGroup>Windows_NT</OSGroup>
</Project>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyName>System.Runtime.Serialization.Formatters.Tests</AssemblyName>
<RootNamespace>System.Runtime.Serialization.Formatters.Tests</RootNamespace>
<IncludePerformanceTests>true</IncludePerformanceTests>
<NugetTargetMoniker>.NETStandard,Version=v1.5</NugetTargetMoniker>
<NugetTargetMoniker>.NETStandard,Version=v1.7</NugetTargetMoniker>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
"Microsoft.DotNet.xunit.performance": "1.0.0-alpha-build0037"
},
"frameworks": {
"netstandard1.5": {}
"netstandard1.7": {}
},
"supports": {
"coreFx.Test.netcoreapp1.0": {},
"coreFx.Test.net462": {},
"coreFx.Test.net463": {}
"coreFx.Test.netcoreapp1.1": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
<ProjectReference Include="..\ref\4.0.0\System.Runtime.Serialization.Primitives.depproj">
<SupportedFramework>net45;netcore45;wp8;wpa81</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\ref\4.1.1\System.Runtime.Serialization.Primitives.depproj">
<SupportedFramework>net46;netcore50;netcoreapp1.0</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\ref\System.Runtime.Serialization.Primitives.csproj">
<SupportedFramework>net46;netcore50;netcoreapp1.0;$(AllXamarinFrameworks)</SupportedFramework>
<SupportedFramework>net463;netcoreapp1.1;$(AllXamarinFrameworks)</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\src\System.Runtime.Serialization.Primitives.builds" />
<InboxOnTargetFramework Include="MonoAndroid10" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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.1.1.0</AssemblyVersion>
<OutputType>Library</OutputType>
<PackageTargetFramework>netstandard1.3</PackageTargetFramework>
<NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
</PropertyGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
12 changes: 12 additions & 0 deletions src/System.Runtime.Serialization.Primitives/ref/4.1.1/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dependencies": {
"System.Runtime.Serialization.Primitives": "4.1.1"
},
"frameworks": {
"netstandard1.3": {
"imports": [
"dotnet5.4"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<PropertyGroup>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<OutputType>Library</OutputType>
<PackageTargetFramework>netstandard1.3</PackageTargetFramework>
<NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
<PackageTargetFramework>netstandard1.7</PackageTargetFramework>
<NuGetTargetMoniker>.NETStandard,Version=v1.7</NuGetTargetMoniker>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Runtime.Serialization.Primitives.cs" />
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
<!-- ToDo: Remove this P2P reference once the required types are pushed in system.runtime -->
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
Expand Down
5 changes: 2 additions & 3 deletions src/System.Runtime.Serialization.Primitives/ref/project.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"dependencies": {
"System.Runtime": "4.0.0"
},
"frameworks": {
"netstandard1.3": {
"netstandard1.7": {
"imports": [
"dotnet5.4"
"dotnet5.8"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<ItemGroup>
<Project Include="System.Runtime.Serialization.Primitives.csproj" />
<Project Include="System.Runtime.Serialization.Primitives.csproj">
<TargetGroup>netstandard1.3</TargetGroup>
</Project>
<Project Include="System.Runtime.Serialization.Primitives.csproj">
<TargetGroup>net46</TargetGroup>
</Project>
<Project Include="System.Runtime.Serialization.Primitives.csproj">
<TargetGroup>net463</TargetGroup>
</Project>
<!-- System.Runtime.Serialization.Primitives needs to be build for netcore50 because it needs to have the reflection block enabled
By default, all assemblies that are built for netcore50 or netcore50aot have the reflection block enabled. -->
<Project Include="System.Runtime.Serialization.Primitives.csproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
<PropertyGroup>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion Condition="'$(TargetGroup)'=='netstandard1.3' Or '$(TargetGroup)'=='net46' Or '$(TargetGroup)'=='netcore50aot'">4.1.1.0</AssemblyVersion>
<ContractProject Condition="'$(AssemblyVersion)'=='4.1.1.0'">../ref/4.1.1/System.Runtime.Serialization.Primitives.depproj</ContractProject>
<RootNamespace>System.Runtime.Serialization.Primitives</RootNamespace>
<NoWarn>$(NoWarn);1634;1691;649</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<FileAlignment>512</FileAlignment>
<PlatformTarget>AnyCPU</PlatformTarget>
<ProjectGuid>{CDF0ACB5-1361-4E48-8ECB-22E8022F5F01}</ProjectGuid>
<PackageTargetFramework Condition="'$(PackageTargetFramework)'==''">netstandard1.3</PackageTargetFramework>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)'=='net46'">true</IsPartialFacadeAssembly>
<NuGetTargetMoniker Condition="'$(TargetGroup)' == ''">.NETStandard,Version=v1.3</NuGetTargetMoniker>
<PackageTargetFramework Condition="'$(PackageTargetFramework)'==''">netstandard1.7</PackageTargetFramework>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)'=='net46' Or '$(TargetGroup)'=='net463'">true</IsPartialFacadeAssembly>
<NuGetTargetMoniker Condition="'$(TargetGroup)' == ''">.NETStandard,Version=v1.7</NuGetTargetMoniker>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand All @@ -21,11 +23,33 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50aot_Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50aot_Release|AnyCPU'" />
<ItemGroup Condition="'$(TargetGroup)'!='net46'">
<Compile Include=".\**\*.cs" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ItemGroup Condition="'$(TargetGroup)'!='net46' And '$(TargetGroup)'!='net463'">
<Compile Include="System\Runtime\Serialization\CollectionDataContractAttribute.cs" />
<Compile Include="System\Runtime\Serialization\ContractNamespaceAttribute.cs" />
<Compile Include="System\Runtime\Serialization\DataContractAttribute.cs" />
<Compile Include="System\Runtime\Serialization\DataMemberAttribute.cs" />
<Compile Include="System\Runtime\Serialization\EnumMemberAttribute.cs" />
<Compile Include="System\Runtime\Serialization\IgnoreDataMemberAttribute.cs" />
<Compile Include="System\Runtime\Serialization\InvalidDataContractException.cs" />
<Compile Include="System\Runtime\Serialization\ISerializationSurrogateProvider.cs" />
<Compile Include="System\Runtime\Serialization\KnownTypeAttribute.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)'=='netstandard1.3' Or '$(TargetGroup)'=='netcore50aot'">
<Compile Include="$(CommonPath)\System\Runtime\Serialization\OnDeserializedAttribute.cs" />
<Compile Include="$(CommonPath)\System\Runtime\Serialization\OnDeserializingAttribute.cs" />
<Compile Include="$(CommonPath)\System\Runtime\Serialization\OnSerializedAttribute.cs" />
<Compile Include="$(CommonPath)\System\Runtime\Serialization\OnSerializingAttribute.cs" />
<Compile Include="$(CommonPath)\System\Runtime\Serialization\SerializationException.cs" />
<Compile Include="$(CommonPath)\System\Runtime\Serialization\StreamingContext.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)'==''">
<!-- ToDo: Remove this dependency once System.Runtime is published. -->
<ProjectReference Include="..\..\System.Runtime\pkg\System.Runtime.pkgproj">
<Name>System.Runtime</Name>
</ProjectReference>
<Compile Include="System.Runtime.Serialization.Primitives.TypeForwards.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)'=='net46'">
<ItemGroup Condition="'$(TargetGroup)'=='net46' Or '$(TargetGroup)'=='net463'">
<TargetingPackReference Include="mscorlib" />
<TargetingPackReference Include="System.Runtime.Serialization" />
<Compile Include="System\Runtime\Serialization\ISerializationSurrogateProvider.cs" />
Expand Down
15 changes: 15 additions & 0 deletions src/System.Runtime.Serialization.Primitives/src/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
"dotnet5.4"
]
},
"netstandard1.7": {
"dependencies": {
"System.Runtime": "4.0.20",
"System.Resources.ResourceManager": "4.0.0",
"System.Threading.Tasks": "4.0.10"
},
"imports": [
"dotnet5.8"
]
},
"netcore50": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1",
Expand All @@ -23,6 +33,11 @@
"dependencies": {
"Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1"
}
},
"net463": {
"dependencies": {
"Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1"
}
}
}
}
Loading

0 comments on commit 17aa557

Please sign in to comment.