There is another similar feature introduced in Visual Studio 2013, called Portable Class Library (PCL). Portable Library is also can be used by different project types. The main difference between these two kind of sharing options are:
- Shared Project share the code; whereas Portable Class Library share assembly(dll)
- Shared Project will not create any separate assembly; it will get compiled as part of the referring application. PCL compiles separately and add the dll reference to the referring project
- As shared projects are not precompiled, it can use with any kind of platform. PCL compiles in advance and won’t work with all platforms
Utilize the Shared Project in your solution to share the code and files among multiple projects. Create Shared Project using the “Shared Project” project template.