blob: a2b8bfb4e84adee3068104d574d22a29ec1fae28 [file] [log] [blame]
James Kuszmaul8e62b022022-03-22 09:33:25 -07001<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Austin Schuh272c6132020-11-14 16:37:52 -08002
Austin Schuhe89fa2d2019-08-14 20:24:23 -07003 <PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -08004 <TargetFrameworks>netstandard2.1;netstandard2.0;net46</TargetFrameworks>
5 <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Austin Schuhe89fa2d2019-08-14 20:24:23 -07006 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -08007
8 <PropertyGroup Condition="'$(UNSAFE_BYTEBUFFER)' == 'true'">
9 <DefineConstants>$(DefineConstants);UNSAFE_BYTEBUFFER</DefineConstants>
10 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070011 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080012 <PropertyGroup Condition="'$(BYTEBUFFER_NO_BOUNDS_CHECK)' == 'true'">
13 <DefineConstants>$(DefineConstants);BYTEBUFFER_NO_BOUNDS_CHECK</DefineConstants>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070014 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080015 <PropertyGroup Condition="'$(ENABLE_SPAN_T)' == 'true'">
16 <DefineConstants>$(DefineConstants);ENABLE_SPAN_T</DefineConstants>
17 </PropertyGroup>
18
19 <ItemGroup Condition="('$(ENABLE_SPAN_T)' == 'true') And (('$(TargetFramework)' == 'netstandard2.0') Or ('$(TargetFramework)' == 'net46'))">
20 <PackageReference Include="System.Memory" Version="4.5.4" />
Austin Schuhe89fa2d2019-08-14 20:24:23 -070021 </ItemGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080022
23</Project>