I want to have some code that is shared between client and server live in a C# DLL that both solutions can share. This way, I can just reference the DLL from both the client and server and not have to duplicate code.
But when I run the server, it gives me this error:
- Code: Select all
Checking if Common.dll is a game dll (from application directory)
- error: Could not find any Player.IO room types [RoomType(...)] in the dll.
I think this means we can't use any DLLs unless they contain room code?
What is the reasoning for such a drastic limitation? If you are already whitelisting classes for security, why shouldn't we be able to have code libraries which don't contain room types?
Cheers,