Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric St. John <ericstj@microsoft.com>2017-03-22 00:32:25 +0300
committerEric St. John <ericstj@microsoft.com>2017-03-22 00:32:25 +0300
commit8e9663e97e08f5cdd6ed2ad0672535e9dbb82365 (patch)
treef0fe268eccc175baa75c543cd8edcee80603db62 /src/System.Numerics.Vectors
parent9d87e1cfe0f9bb697b572bbc61cd457dc70eaf4a (diff)
Add netstandard build of Vectors
Diffstat (limited to 'src/System.Numerics.Vectors')
-rw-r--r--src/System.Numerics.Vectors/ref/Configurations.props1
-rw-r--r--src/System.Numerics.Vectors/ref/System.Numerics.Vectors.Forwards.cs16
-rw-r--r--src/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj7
3 files changed, 23 insertions, 1 deletions
diff --git a/src/System.Numerics.Vectors/ref/Configurations.props b/src/System.Numerics.Vectors/ref/Configurations.props
index 792625ee02..0748611bbf 100644
--- a/src/System.Numerics.Vectors/ref/Configurations.props
+++ b/src/System.Numerics.Vectors/ref/Configurations.props
@@ -8,6 +8,7 @@
netcoreapp;
uap;
netfx;
+ netstandard;
net46;
$(PackageConfigurations);
</BuildConfigurations>
diff --git a/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.Forwards.cs b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.Forwards.cs
new file mode 100644
index 0000000000..2083daebfa
--- /dev/null
+++ b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.Forwards.cs
@@ -0,0 +1,16 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the http://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
+
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Matrix3x2))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Matrix4x4))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Plane))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Quaternion))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Vector))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Vector<>))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Vector2))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Vector3))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.Vector4))] \ No newline at end of file
diff --git a/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
index b794d0e688..fdf5349aad 100644
--- a/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
+++ b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
@@ -10,13 +10,18 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Release|AnyCPU'" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard1.0-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard1.0-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Release|AnyCPU'" />
- <ItemGroup>
+ <ItemGroup Condition="'$(TargetGroup)' != 'netstandard'">
<Compile Include="System.Numerics.Vectors.cs" />
</ItemGroup>
+ <ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
+ <Compile Include="System.Numerics.Vectors.Forwards.cs" />
+ </ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netfx' OR '$(TargetGroup)' == 'net46'">
<Reference Include="mscorlib" />
</ItemGroup>