Reputation: 247
Is anybody explain to me what is the advantage of using portable class libraries instead of using "Add as Link"?
Thanks
Upvotes: 12
Views: 4016
Reputation: 16744
Disadvantages of linked files:
Disadvantages of Portable Class Libraries:
#if
statements) to get around differences between the platformsFor some guidance on how to take advantage of Portable Class Libraries, see the following:
While I'm partial to Portable Class Libraries (as a member of the PCL team), linked files are also an entirely valid way of sharing code and if you don't run into or don't mind the drawbacks, then go ahead and use linked source files. I mostly use Portable Class Libraries, but I still use linked source files when PCLs don't fit.
Upvotes: 27