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 Standard 2.0 support or Support .NET Maui at least #749

Open
logikonline opened this issue Aug 21, 2022 · 5 comments
Open

.NET Standard 2.0 support or Support .NET Maui at least #749

logikonline opened this issue Aug 21, 2022 · 5 comments
Labels
question Further information is requested

Comments

@logikonline
Copy link

I am quite surprised you guys didn't offer an RPC Client for use with .NET Standard 2.0. It really limits our options for rapid development. I want to use Xamarin Forms to build a few solutions using NEO, but I am struggling to use the RPC Client libraries.

@logikonline logikonline added the question Further information is requested label Aug 21, 2022
@logikonline logikonline changed the title .Net standard 20 support .NET Standard 2.0 support Aug 21, 2022
@logikonline
Copy link
Author

Gentlemen, at the very least, make a version one can include in .NET Maui.

I do not prefer this since Microsoft has a habit of taking a few years before control platforms provide the same suite of offerings as the predecessor, but at least we can start crafting solutions today. We cannot have the following in the assembly reference, though:

"NETSDK1082 There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'."

@logikonline logikonline changed the title .NET Standard 2.0 support .NET Standard 2.0 support or Support .NET Maui at least Aug 22, 2022
@gsmachado
Copy link

gsmachado commented Aug 22, 2022

so... maybe @devhawk could enlighten us here?

I'm not so into this topic (C# dependencies and stuff), but it seems @logikonline has a good use case to request for this...

@erikzhang
Copy link
Member

erikzhang commented Aug 22, 2022

Does MAUI not support net6.0?

@logikonline
Copy link
Author

Does MAUI not support net6.0?

I actually worked offline with devhawk and he removed the code in a off branch which violated .NET Maui. Maui does support 6.0 but not Microsoft.AspNetCore.App which NEO needs for P2P - although this isn't needed for RPC Client functionality.

@devhawk
Copy link
Contributor

devhawk commented Sep 2, 2022

Neo.dll drags along lots of dependencies that are only needed for running a full node. I helped @logikonline produce a custom neo.dll that removes the ASP.NET dependency so that can be used in .NET MAUI. But that custom assembly is still dragging in other dependencies like Akka.net that aren't needed in client scenarios.

Maybe it's time to revisit neo-project/neo#1865? That would address this issue (aka #749) as well as neo-project/neo#2678.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants