Skip to content

Instantly share code, notes, and snippets.

@Pzixel
Last active March 1, 2016 14:08
Show Gist options
  • Save Pzixel/18daccddb55f398c5ef4 to your computer and use it in GitHub Desktop.
Save Pzixel/18daccddb55f398c5ef4 to your computer and use it in GitHub Desktop.
Define minimal version of target framework
<Choose>
<When Condition=" $(TargetFrameworkVersion.Replace('v', '')) &gt;= 4.6 ">
<ItemGroup>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.1.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<PropertyGroup>
<DefineConstants>SIMD</DefineConstants>
</PropertyGroup>
</When>
</Choose>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment