Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Move S.N.Vector APIs to corelib and expose them from System.Runtime - #26266

Closed
ahsonkhan wants to merge 1 commit into
dotnet:masterfrom
ahsonkhan:MoveVectors
Closed

ahsonkhan wants to merge 1 commit into
dotnet:masterfrom
ahsonkhan:MoveVectors

Conversation

@ahsonkhan

Copy link
Copy Markdown

<PropertyGroup>
<ProjectGuid>{650277B5-9423-4ACE-BB54-2659995B21C7}</ProjectGuid>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx' OR '$(TargetGroup)' == 'net46'">true</IsPartialFacadeAssembly>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx' Or '$(TargetGroup)' == 'net46' Or '$(TargetGroup)' == 'netcoreapp' Or '$(TargetGroup)' == 'uap'">true</IsPartialFacadeAssembly>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a proper usage of IsPartialFacadeAssembly I think for targetgroup != netfx and != net46 you would need to add the typeforwards to System.Runtime manually. That is why the build is failing from AFAIK but not sure, @weshaggard knows more about the partial facade generation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do go forward with this you don't want to turn the contract into a partial facade unless you are going to move the API's to System.Runtime which I don't think we are planning to do.

@eerhardt
eerhardt requested a review from weshaggard January 11, 2018 14:42
@weshaggard weshaggard added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Jan 11, 2018
@weshaggard

Copy link
Copy Markdown
Member

I applied the "No Merge" label to this PR as I want to make an explicit decision about moving Vectors into corelib before we move forward and merge this. The discussion is happening at https://github.com/dotnet/corefx/issues/25182.

<Compile Include="System\Numerics\Vector4_Intrinsics.cs" />
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' Or '$(TargetGroup)' == 'uap'">
<ReferenceFromRuntime Include="System.Private.CoreLib" />
<ProjectReference Include="..\..\System.Runtime\src\System.Runtime.csproj" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to reference System.Runtime here?

@karelz

karelz commented Jan 27, 2018

Copy link
Copy Markdown
Member

@ahsonkhan any plans to push the PR forward?

@eerhardt

Copy link
Copy Markdown
Member

@karelz - I'm going to take this work forward. Let's close this PR for now, and if it makes sense I'll re-open it when the coreclr work is completed.

@eerhardt eerhardt closed this Jan 29, 2018
@karelz karelz added this to the 2.1.0 milestone Feb 4, 2018
@ahsonkhan
ahsonkhan deleted the MoveVectors branch February 5, 2018 00:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Numerics * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants