Rocket.Chat.Net icon indicating copy to clipboard operation
Rocket.Chat.Net copied to clipboard

Realtime API update

Open antoniozh opened this issue 3 years ago • 2 comments

I updated the project to .NET Standard 2.0 and removed some wrappers. I also added NLog as a library and refactored the references to ILogger to NLog.ILogger.

With some tweaks and changes to the subscription code and room retrieval, subscribing to room message streams works now.

antoniozh avatar Dec 02 '22 14:12 antoniozh

I used an older bait-and-switch technique to support the PCL (have the compiler link against a dummy assembly during builds, but load the correct assembly in the target project) - which might be why the build is currently failing. In theory, this technique wouldn't be needed in .NET Standard land.

Perhaps moving everything to the new SDK might fix the build errors?

Silvenga avatar Dec 02 '22 15:12 Silvenga

Do you mean moving the CI pipeline to the new SDK too?

antoniozh avatar Dec 06 '22 13:12 antoniozh