Making TapiLine.cs and TapiManager.cs compatible with NET 7.0 through async#41
Making TapiLine.cs and TapiManager.cs compatible with NET 7.0 through async#41gitapii wants to merge 1 commit intomarkjulmar:masterfrom
Conversation
|
Hi @gitapii , have you tested this? I've also tried to make it run under .NET 9.0 after migrating the library to .NET Standard 2.0 and replacing BeginInvoke by Task.Run, but without awaiting. Has someone successfully used this library (or anything else based on Tapi3.dll) used under .NET (the new one based on .NET Core)? |
|
Update: I've managet to get it working: It started working after I replaced Task.Run by Task.Factory.StartNew and passed TaskCreationOptions.LongRunning to it. |
Hi,
I just modified the methods HandleNewCall() in TapiLine.cs and ProcessTapiMessages() in TapiManager.cs slightly, such that the whole library should work under NET 7.0 now.
Regards,