<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
  <PropertyGroup>
    <TargetFrameworks>netstandard1.3;net45;net46;uap10.0</TargetFrameworks>
    <Product>System.Reactive ($(TargetFramework))</Product>
    <Copyright>Copyright (c) .NET Foundation and Contributors.</Copyright>
    <CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
    <DefaultLanguage>en-US</DefaultLanguage>
    <MinClientVersion>2.12</MinClientVersion>
    <GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
    <Authors>.NET Foundation and Contributors</Authors>
    <AssemblyOriginatorKeyFile>../ReactiveX.snk</AssemblyOriginatorKeyFile>
    <SignAssembly>true</SignAssembly>
    <NoWarn>$(NoWarn);CS1591</NoWarn>
    <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
    <PackageTags>Rx;Reactive;Extensions;Observable;LINQ;Events</PackageTags>
    <PackageIconUrl>http://go.microsoft.com/fwlink/?LinkId=261274</PackageIconUrl>
    <PackageProjectUrl>http://go.microsoft.com/fwlink/?LinkId=261273</PackageProjectUrl>
    <PackageLicenseUrl>http://go.microsoft.com/fwlink/?LinkID=261272</PackageLicenseUrl>
    <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
    <Description>Reactive Extensions (Rx) for .NET</Description>
  </PropertyGroup>  
  <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
    <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION;PLIB</DefineConstants>
    <AssemblyVersion>4.0.3000.0</AssemblyVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
    <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_WINFORMS;DESKTOPCLR;DESKTOPCLR45</DefineConstants>
    <AssemblyVersion>4.0.1000.0</AssemblyVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
    <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46;HAS_WINFORMS;DESKTOPCLR;DESKTOPCLR46</DefineConstants>
    <AssemblyVersion>4.0.3000.0</AssemblyVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
    <NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
    <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
    <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion>
    <TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
    <TargetFrameworkIdentifier>.NETCore</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>    
    <LanguageTargets>$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets</LanguageTargets>
    <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION;NO_THREAD;WINDOWS</DefineConstants>
    <AssemblyVersion>4.0.4000.0</AssemblyVersion>    
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="**\*.cs" />
    <EmbeddedResource Include="**\*.resx" />
    <PackageReference Include="GitVersionTask" Version="4.0.0-pullrequest1119-1208">
      <PrivateAssets>All</PrivateAssets>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>    
    <Compile Include="..\System.Reactive.Interfaces\Reactive\**\*.cs" />   
    <Compile Include="..\System.Reactive.Core\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Core\Strings_Core.Generated.cs" />
    <Compile Include="..\System.Reactive.Core\Observable.Extensions.cs" />
    <Compile Include="..\System.Reactive.Core\Observer.Extensions.cs" />
    <EmbeddedResource Include="..\System.Reactive.Core\**\*.resx" />
    <Compile Include="..\System.Reactive.Linq\Reactive\**\*.cs" Exclude="..\System.Reactive.Linq\Reactive\Internal\Observers.cs;..\System.Reactive.Linq\Reactive\Observer.Extensions.cs;..\System.Reactive.Linq\Reactive\Internal\Producer.cs;..\System.Reactive.Linq\Reactive\Internal\ImmutableList.cs" />
    <Compile Include="..\System.Reactive.Linq\Strings_Linq.Generated.cs" />
    <EmbeddedResource Include="..\System.Reactive.Linq\**\*.resx" />
    <Compile Include="..\System.Reactive.PlatformServices\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.PlatformServices\Strings_PlatformServices.Generated.cs" />
    <EmbeddedResource Include="..\System.Reactive.PlatformServices\**\*.resx" />    
    <Compile Include="..\System.Reactive.Providers\Reactive\**\*.cs" Exclude="..\System.Reactive.Providers\Reactive\Internal\*.cs" />
    <Compile Include="..\System.Reactive.Providers\Strings_Providers.Generated.cs" />
    <EmbeddedResource Include="..\System.Reactive.Providers\**\*.resx" />   
    <Compile Include="..\System.Reactive.Debugger\Reactive\**\*.cs" />    
    <Compile Include="..\System.Reactive.Experimental\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Experimental\ExperimentalAttribute.cs" />
  </ItemGroup>  
  <ItemGroup>
    <None Include="..\System.Reactive.Runtime.Remoting\Reactive\**\*.cs" />
    <None Include="..\System.Reactive.Windows.Forms\Reactive\**\*.cs" />
    <None Include="..\System.Reactive.Windows.Threading\Reactive\**\*.cs" />
    <None Include="..\System.Reactive.Windows.Threading\Strings_WindowsThreading.Generated.cs" />
    <None Include="..\System.Reactive.Windows.Threading\**\*.resx" />
    <None Include="..\System.Reactive.WindowsRuntime\*.cs;..\System.Reactive.WindowsRuntime\Foundation\**\*.cs;..\System.Reactive.WindowsRuntime\Linq\**\*.cs" />
  </ItemGroup>
  <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' or '$(TargetFramework)' == 'uap10.0' ">
    <PackageReference Include="NETStandard.Library" Version="1.6.1" />
    <PackageReference Include="System.ComponentModel" Version="4.3.0" />
    <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />    
    <PackageReference Include="System.Linq.Queryable" Version="4.3.0" />
  </ItemGroup>
  <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">    
    <PackageReference Include="System.Diagnostics.Contracts" Version="4.3.0" />
    <PackageReference Include="System.Runtime.InteropServices.WindowsRuntime" Version="4.3.0" />
    <PackageReference Include="System.Threading.Thread" Version="4.3.0" />
    <PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
  </ItemGroup>
  <ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' ">
    <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform " Version="5.2.2" />
    <Compile Include="..\System.Reactive.Windows.Threading\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Windows.Threading\Strings_WindowsThreading.Generated.cs" />
    <EmbeddedResource Include="..\System.Reactive.Windows.Threading\**\*.resx" />
    <Compile Include="..\System.Reactive.WindowsRuntime\*.cs;..\System.Reactive.WindowsRuntime\Foundation\**\*.cs;..\System.Reactive.WindowsRuntime\Linq\**\*.cs" />
  </ItemGroup>
  <ItemGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46'">
    <Reference Include="System" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Windows" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="WindowsBase" />
    <Compile Include="..\System.Reactive.Runtime.Remoting\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Windows.Forms\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Windows.Threading\Reactive\**\*.cs" />
    <Compile Include="..\System.Reactive.Windows.Threading\Strings_WindowsThreading.Generated.cs" />
    <EmbeddedResource Include="..\System.Reactive.Windows.Threading\**\*.resx" />
  </ItemGroup>
</Project>