PCL - can I target .NET 4.5 and ".NET 4.0 with BCL extensions" -



PCL - can I target .NET 4.5 and ".NET 4.0 with BCL extensions" -

i have portable class library project targets next platforms:

.net framework 4.5 windows 8 windows phone silverlight 8

i'd add together back upwards .net 4.0, utilize .net features, only available in .net 4.0 through inclusion of "microsoft bcl portability pack"; features callermembername attribute, iprogress interface, , updated task class.

is there way add together 'conditional' back upwards platform, in pcl project? i.e. "allow .net 4.0, long dependency xxxxx included?"

as mentioned in comments, target .net 4 in pcl , reference microsoft.bcl , microsoft.bcl.async packages.

you can consider packaging pcl nuget bundle packages listed dependency. way when nuget bundle installed in project required microsoft.bcl packages installed.

.net .net-4.0 .net-4.5 portable-class-library

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -