c# - What is the difference between a Shared Project and a Class Library in Visual Studio 2015? -


i looking @ new features visual studio 2015 , shared project came lot don't understand how different using class library or portable class library. can explain?

edit: shared project new feature in visual studio 2015 , different portable class library. understand portable class library is. i'm trying understand how shared project differs class library. see link below.

http://www.c-sharpcorner.com/uploadfile/7ca517/shared-project-an-impressive-features-of-visual-studio-201/

the difference between shared project , class library latter compiled , unit of reuse assembly.

whereas former, unit of reuse source code, , shared code incorporated each assembly references shared project.

this can useful when want create separate assemblies target specific platforms still have code should shared.

see here:

the shared project reference shows under references node in solution explorer, code , assets in shared project treated if files linked main project.


in previous versions of visual studio1, shared source code between projects add -> existing item , choosing link. kind of clunky , each separate source file had selected individually. move supporting multiple disparate platforms (ios, android, etc), decided make easier share source between projects adding concept of shared projects.


1 question , answer (up until now) suggest shared projects new feature in visual studio 2015. in fact, made debut in visual studio 2013 update 2


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -