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

.NET 5.0 #2083

Merged
merged 10 commits into from
Dec 17, 2020
Merged

.NET 5.0 #2083

merged 10 commits into from
Dec 17, 2020

Conversation

erikzhang
Copy link
Member

Close #2078

@devhawk
Copy link
Contributor

devhawk commented Nov 20, 2020

Are we expecting to merge this before preview 4?

shargon
shargon previously approved these changes Nov 21, 2020
@erikzhang
Copy link
Member Author

Merge?

@shargon
Copy link
Member

shargon commented Nov 21, 2020

Are we expecting to merge this before preview 4?

I think that it's good, we can test it more. What do you think?

@erikzhang
Copy link
Member Author

@neo-project/ngd-shanghai

@devhawk
Copy link
Contributor

devhawk commented Nov 21, 2020

Are we expecting to merge this before preview 4?

I think that it's good, we can test it more. What do you think?

If you're asking me @shargon, I think we should get preview 4 out the door first.

@cloud8little
Copy link
Contributor

under test

@superboyiii
Copy link
Member

superboyiii commented Nov 23, 2020

@neo-project/ngd-shanghai

I think it should be merged after Preview4 so that we could make more test on .NET5.0

@cloud8little
Copy link
Contributor

When Microsoft.EntityFrameworkCore.Sqlite and Microsoft.Extensions.Configuration.Json are both version "3.1.3", smoke test passed.

When Microsoft.EntityFrameworkCore.Sqlite or Microsoft.Extensions.Configuration.Json is version "5.0.0", Rpc call failed here:
https:/neo-project/neo-modules/blob/master/src/RpcServer/RpcServer.cs#L199

@chenzhitong
Copy link
Member

When Microsoft.EntityFrameworkCore.Sqlite and Microsoft.Extensions.Configuration.Json are both version "3.1.3", smoke test passed.

When Microsoft.EntityFrameworkCore.Sqlite or Microsoft.Extensions.Configuration.Json is version "5.0.0", Rpc call failed here:
https:/neo-project/neo-modules/blob/master/src/RpcServer/RpcServer.cs#L199

neo-project/neo-modules#407

@chenzhitong
Copy link
Member

chenzhitong commented Nov 23, 2020

https:/neo-project/neo/blob/master/.github/workflows/main.yml#L24-L25

Maybe it should be updated to

dotnet tool install --version 5.0.142902 --tool-path ./ dotnet-format --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
./dotnet-format . --check -v diagnostic

Reference

@cloud8little
Copy link
Contributor

cloud8little commented Nov 24, 2020

@erikzhang more detailed information, if it is a must to upgrade these two dependencies, it is better to solve this problem.

1d3a2b5aa5ede7aacbe4054fd1373d7

6119a9ddbbd7946897b0a8d3efc1544

Exception Stack Info:

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Microsoft.AspNetCore.Server.Kestrel.Core
  StackTrace:
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.CreateResponseHeader(Boolean appCompleted)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProduceStart(Boolean appCompleted)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.InitializeResponseAsync(Int32 firstWriteByteCount)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.WriteAsync(ReadOnlyMemory`1 data, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponseStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.HttpResponseWritingExtensions.WriteAsync(HttpResponse response, String text, Encoding encoding, CancellationToken cancellationToken)
   at Neo.Plugins.RpcServer.<ProcessAsync>d__22.MoveNext() in D:\Github\workflow\neo-modules\src\RpcServer\RpcServer.cs:line 199

@cloud8little
Copy link
Contributor

When Microsoft.EntityFrameworkCore.Sqlite and Microsoft.Extensions.Configuration.Json are both version "3.1.3", smoke test passed.
When Microsoft.EntityFrameworkCore.Sqlite or Microsoft.Extensions.Configuration.Json is version "5.0.0", Rpc call failed here:
https:/neo-project/neo-modules/blob/master/src/RpcServer/RpcServer.cs#L199

neo-project/neo-modules#407

No, it is not.

@erikzhang
Copy link
Member Author

Now it can be merged.

@devhawk
Copy link
Contributor

devhawk commented Dec 17, 2020

Now it can be merged.

@erikzhang are we waiting until after preview 4?

@erikzhang
Copy link
Member Author

Preview4 nuget package has been released.

@shargon shargon merged commit 2cc1766 into master Dec 17, 2020
@shargon shargon deleted the net5.0 branch December 17, 2020 22:07
ShawnYun pushed a commit to ShawnYun/neo that referenced this pull request Jan 8, 2021
* .NET 5.0

* Update main.yml

* Update main.yml

* Update main.yml

Co-authored-by: Shargon <[email protected]>
Co-authored-by: Vitor Nazário Coelho <[email protected]>
cloud8little pushed a commit to cloud8little/neo that referenced this pull request Jan 24, 2021
* .NET 5.0

* Update main.yml

* Update main.yml

* Update main.yml

Co-authored-by: Shargon <[email protected]>
Co-authored-by: Vitor Nazário Coelho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

long type can not convert implicitly to int type for dotnet 5.0
7 participants