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

[release/2.1] Lock Vectors reference assembly to 4.1.3.0 and don't OOB it on netcoreapp2.0#29182

Merged
ericstj merged 1 commit intodotnet:release/2.1from
ericstj:lockVectors-rel2.1
Apr 20, 2018
Merged

[release/2.1] Lock Vectors reference assembly to 4.1.3.0 and don't OOB it on netcoreapp2.0#29182
ericstj merged 1 commit intodotnet:release/2.1from
ericstj:lockVectors-rel2.1

Conversation

@ericstj
Copy link
Copy Markdown
Member

@ericstj ericstj commented Apr 18, 2018

System.Numerics.Vectors was made inbox in netcoreapp2.0, we were still allowing distribution
in the package, however the package was applying the netstandard2.0 implementation to
netcoreapp2.0.

Now that we've disabled oobing the netcoreapp2.1 build (since many types were moved into
corelib) it no longer makes sense for us to mantain the ability to oob the netcoreapp2.0 build.

Doing so not only degrades the inbox version (by not using the framework's MathF
implementation) but also creates type-unfication issues on roll forward: app targets 2.0
carries OOB copy of Vectors with higher version than 2.1, rolls forward to 2.1 and host will
use the OOB copy, no longer unifying to the types in corelib.

Fixes #29162

…eapp2.0

System.Numerics.Vectors was made inbox in netcoreapp2.0, we were still allowing distribution
in the package, however the package was applying the netstandard2.0 implementation to
netcoreapp2.0.

Now that we've disabled oobing the netcoreapp2.1 build (since many types were moved into
corelib) it no longer makes sense for us to mantain the ability to oob the netcoreapp2.0 build.

Doing so not only degrades the inbox version (by not using the framework's MathF
implementation) but also creates type-unfication issues on rollforward: app targets 2.0
carries OOB copy of Vectors with higher version than 2.1, rolls forward to 2.1 and host will
use the OOB copy, no longer unifying to the types in corelib.
@ericstj ericstj added area-System.Numerics packaging Related to packaging labels Apr 18, 2018
@ericstj ericstj added this to the 2.1.0 milestone Apr 18, 2018
@ericstj ericstj self-assigned this Apr 18, 2018
@ericstj ericstj requested a review from weshaggard April 18, 2018 16:47
<PropertyGroup>
<PackageConfigurations>
netstandard1.0;
net45;
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.

do we need a net45 and net46?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, in net45 we need a versioned reference that's all typedefs. In net46 we need a versioned reference that has some typeforwards.

@ericstj ericstj changed the title Lock Vectors reference assembly to 4.1.3.0 and don't OOB it on netcoreapp2.0 [release/2.1] Lock Vectors reference assembly to 4.1.3.0 and don't OOB it on netcoreapp2.0 Apr 18, 2018
@ericstj
Copy link
Copy Markdown
Member Author

ericstj commented Apr 18, 2018

Test Linux x64 Release Build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants