4
votes

I'm creating a portable class library that is targeting :

  1. .NET 4.5
  2. Windows Store Apps
  3. Windows Phone 7.5+
  4. Silverlight 5

Can I safely use the "dynamic" keyword in that library?

1

1 Answers

10
votes

Projects targeting Windows Phone 7.5 cannot use "dynamic" - it lacks both the types and runtime support. However, the above combination will work if you change Phone 7.5 to Phone 8