Cysharp / MagicOnion

Unified Realtime/API framework for .NET platform and Unity.
MIT License
3.68k stars 417 forks source link

Chat Sample #668

Closed lefig closed 10 months ago

lefig commented 11 months ago

Hi All,

I am trying to get a better handle on bidirectional streaming and (I think) the place for me to start is with the Chat Sample.

I have been able to build the MO code base but with the exception of a single build error in the Shared Chat Lib. I am at a loss what the reason for the error is. Now I do not have Unity installed but I don't think there is a dependency.

Severity Code Description Project File Line Suppression State Error MSB3073 The command "dotnet tool run mpc -i ./ChatApp.Shared.csproj -o ../ChatApp.Unity/Assets/Scripts/Generated/MessagePack.Generated.cs" exited with code -532462766. ChatApp.Shared C:\Users\fig\Downloads\MagicOnion-main\MagicOnion-main\samples\ChatApp\ChatApp.Shared\ChatApp.Shared.csproj 29

I would appreciate any thoughts please.

Thank you

Fig

labyte commented 11 months ago

In yourDirectory\MagicOnion-main\samples\ChatApp, open cmd and run

dotnet tool install messagepack.generator 2.5.124

lefig commented 10 months ago

Thank you:)