When I created a new universal app project in Visual Studio it created a shared project that let me share code between the Windows Phone 8.1 and Windows 8.1 projects that we
Adding the reference will require editing the project files where you want to add it. If it helps, you can peak at the project file where it is already referenced to see a working example.
Near the bottom of the project file (ex, a .csproj) there is likely already an
element such as
[...]
You add the Shared project by adding another element like that for the Shared project. For example:
[...]
It is important for the Label attribute to be set to "Shared." If you set it to something else it will not be recognized as a Shared project by Visual Studio and will not appear under References. Project should be set to the path to the appropriate ".projitems" file.