-
Notifications
You must be signed in to change notification settings - Fork 6
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
[BUG] RPC stops accepting requests after a few seconds on .NET Framework 4.8 #4
Comments
Hello @EricApostal Yes you right, I was able to reproduce it on my computer, Sorry, I haven't been able to test it on .NET Framework. |
Ah okay, thanks for getting back so fast! I'll find a way to use .NET core. |
Given the relationship between .NET (Core) and .NET Framework, there's about a million incompatibilities. So I'm pretty sure the only way to truly support .NET Framework is by creating a separate solution/project with that target. However given that it is basically all but deprecated at this point I strongly encourage not adding backwards compatibility. In fact... as I wrote this I had to fact check, .NET Framework is officially no longer supported as of April 26, 2022. Probably safe to close this unless you're dead set on adding support for a deprecated framework. |
ℹ️ Info
Version:
0.0.1
💬 Description
Whenever I attempt to run CSharpRPC on .NET Framework 4.8, the process opens for around 2 seconds or so, then will infinitely yield upon waiting for new requests to respond. Furthermore, each time you run
csharpRpc = await CsharpRpc(modulePath).start();
within the Flutter app, it creates a new process under the Flutter program, of which does not close when you stop the app from running (must be closed in Task Manager).I've tested this in Flutter Debug, although not Release. I've also only tested this within .NET Framework 4.8 / 4.7.2, though I'd be happy to test on other versions if necessary.
📜 Pubspec.yaml
CSharp Program
Program.cs
Server.cs
csproj file
Flutter Program
only the first doInjectLoop() stuff is important here
Let me know if I can provide anything else!
The text was updated successfully, but these errors were encountered: