Add netcoreapp2.1 build for System.ServiceModel.Syndication
authorWes Haggard <Wes.Haggard@microsoft.com>
Tue, 28 Aug 2018 16:47:57 +0000 (09:47 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Aug 2018 16:38:30 +0000 (09:38 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/0b71879a3aa8816de9c2ec575dcebb09995752f7

src/libraries/System.ServiceModel.Syndication/ref/Configurations.props
src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.csproj

index d10b456..787148e 100644 (file)
@@ -3,11 +3,12 @@
   <PropertyGroup>
     <PackageConfigurations>
       net461;
-      netcoreapp;
+      netcoreapp2.1;
       netstandard;
     </PackageConfigurations>
     <BuildConfigurations>
       $(PackageConfigurations);
+      netcoreapp;
       netfx;
     </BuildConfigurations>
   </PropertyGroup>
index 31eabb3..a8c5dce 100644 (file)
@@ -7,7 +7,7 @@
   <ItemGroup>
     <Compile Include="System.ServiceModel.Syndication.cs" />
   </ItemGroup>
-  <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
+  <ItemGroup Condition="'$(TargetsNETCoreApp)' == 'true'">
     <Compile Include="System.ServiceModel.Syndication.netcoreapp.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
     <ProjectReference Include="..\..\System.Xml.ReaderWriter\ref\System.Xml.ReaderWriter.csproj" />
     <ProjectReference Include="..\..\System.Xml.XmlSerializer\ref\System.Xml.XmlSerializer.csproj" />
   </ItemGroup>
+  <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp2.1'">
+    <Reference Include="System.Collections" />
+    <Reference Include="System.Runtime" />
+    <Reference Include="System.Runtime.Serialization.Primitives" />
+    <Reference Include="System.Runtime.Serialization.Xml" />
+    <Reference Include="System.Xml.ReaderWriter" />
+    <Reference Include="System.Xml.XmlSerializer" />
+  </ItemGroup>
   <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
     <Reference Include="mscorlib" />
     <Reference Include="System" />