I would recommend creating a nuget package instead of a DLL. The DLL itself isn't enough - there's a bunch of resources that needs to get deployed as well (native libs, pixel shaders and various other resources etc).
A nuget package declaring a dependency on our nuget package will ensure things get deployed correctly.
This is only for sharing the DLL though. You can always create a class library, and use a project reference to the class library, and it should "just work"