| 12345678910111213141516171819202122232425262728 |
- <Project>
- <!-- This has to be set in targets as the default props will overwrite -->
- <PropertyGroup>
- <DebugType>embedded</DebugType>
- </PropertyGroup>
-
- <!-- This props all need to be set in targets as they depend on the values set earlier -->
- <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
- <DefineConstants>$(DefineConstants);NO_CODE_COVERAGE_ATTRIBUTE;HAS_WINRT;PREFER_ASYNC;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
- <DefineConstants>$(DefineConstants);HAS_WINRT;PREFER_ASYNC;DESKTOPCLR</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
- <DefineConstants>$(DefineConstants);HAS_WINRT;PREFER_ASYNC;HAS_TPL46;DESKTOPCLR</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
- <DefineConstants>$(DefineConstants);NO_CODE_COVERAGE_ATTRIBUTE;HAS_WINRT;PREFER_ASYNC;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION;NO_THREAD;WINDOWS</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp1.0' or '$(TargetFramework)' == 'netcoreapp1.1'">
- <DefineConstants>$(DefineConstants);HAS_WINRT;PREFER_ASYNC;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION</DefineConstants>
- </PropertyGroup>
-
- <!-- UWP -->
- <ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' ">
- <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform " Version="5.2.2" />
- </ItemGroup>
- </Project>
|