Difference between PCL and ClassLibrary
PCL
- Portable class libraries are platform independent
- They do not use conditional compilation and unmanaged code, they have no UI inside (UI is platform dependent)
- This is because PCL should work on all specified platforms which was chosen as a target. Also, availability of features depends on selected targets. PCL can be referenced by any project which target is specified in the PCL settings.
Class Library
- Class Libraries are not platform independent.
- No conditional compilation, they too have no UI inside.
- Class Libraries of other types can be referenced only by projects which have the same target or by upper subsets of .Net
Comments
Post a Comment