Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .NET core dependencies to RTM #7580

Merged
merged 5 commits into from
Aug 2, 2016

Conversation

jtattermusch
Copy link
Contributor

Fixes #7334

Basically, this updates the dependencies and switches some projects of type "application" to netcoreapp1.0.

I am not sure if this should still go in the GA branch or to master branch (it's a nice-to-have fix, but it doesn't have any user-visible impact at this point).

@jtattermusch
Copy link
Contributor Author

@jskeet please take a quick look as well.

@jtattermusch jtattermusch changed the title Netcore .NET core dependencies RTM Update .NET core dependencies to RTM Jul 29, 2016
@@ -34,9 +34,9 @@
"net45"
],
"dependencies": {
"Microsoft.NETCore.Portable.Compatibility": "1.0.1-rc2-24027",
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we still work with the earlier versions of these libraries, wondering why we update them, just for their internal changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The rc2-24027 are prerelease versions, it makes sense to update to their GA versions (no particular reason, I just think it makes sense to update to stable dependencies once they are available).

@apolcyn
Copy link
Contributor

apolcyn commented Jul 29, 2016

Since these changes should probably get used in #7519, if it gets used, I think this would be helpful in this branch.

@@ -53,7 +53,7 @@ internal static class PlatformApis

static PlatformApis()
{
#if NETSTANDARD1_5
#if !NET45
Copy link
Contributor

@apolcyn apolcyn Jul 29, 2016

Choose a reason for hiding this comment

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

The tests now seem to be unable to find RuntimeInformation. Possibly building on a later .NET version?

Copy link
Contributor

Choose a reason for hiding this comment

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

If someone were to run on net451, but use Grpc net45 target, would this break? E.g., something like:
frameworks: { net451: { imports: net45 } }, (If net451 doesn't automatically import net45?)

Copy link
Contributor

Choose a reason for hiding this comment

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

*realizing nugets already built

@jskeet
Copy link
Contributor

jskeet commented Jul 30, 2016

I'm in transit to Sydney with family. Will look when I can, but it won't be
for a while.

On 30 Jul 2016 4:23 a.m., "Jan Tattermusch" notifications@github.com
wrote:

@jskeet https://github.com/jskeet please take a quick look as well.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#7580 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABCc-7dYSVlVPbpcnrrGJ-z3zNErbqrks5qamE3gaJpZM4JYiqg
.

@pgrosu
Copy link

pgrosu commented Jul 30, 2016

Have a great trip Jon! I'll be more gentle when testing 1.0.0-pre1 for C# :)

Enjoy and have fun!
Paul

@jtattermusch jtattermusch force-pushed the netcore_nuget_to_rtm branch from a1bd716 to 0a5a0ca Compare July 30, 2016 19:32
@jtattermusch
Copy link
Contributor Author

Fixed some issues introduces when changing #if conditions. I also started using NETCOREAPP1_0 define instead of NET45, because it seemed cleaner.

PTAL (hopefully the tests will pass now).

@@ -12,12 +12,13 @@
},
"frameworks": {
"net45": { },
"netstandard1.5": {
"netcoreapp1.0": {
"imports": [
"portable-net45"
Copy link
Contributor

Choose a reason for hiding this comment

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

not super clear on how the framework importing is working, I take it this import still works since netcoreapp1.0 implements the netstandard1.5 anyways?

@jtattermusch
Copy link
Contributor Author

Tests are green.

@pgrosu
Copy link

pgrosu commented Jul 30, 2016

Yay!

@pgrosu
Copy link

pgrosu commented Jul 30, 2016

Will this part of the 1.0.x prerelease?

@apolcyn
Copy link
Contributor

apolcyn commented Jul 30, 2016

LGTM

@apolcyn
Copy link
Contributor

apolcyn commented Jul 30, 2016

I believe this will be in a later 1.0.x-pre, @pgrosu

@pgrosu
Copy link

pgrosu commented Jul 31, 2016

Thanks @apolcyn

@jtattermusch
Copy link
Contributor Author

It's beautifully green, so merging. (CC @kpayson64)

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants