<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" />