0

I am trying to add System.Threading.Timer from nuget packages since it's not already in my core project. When I do I get the following error.

You are trying to install this package ointo a project that targets '.NETPortable,Version=4.5,Profile78', but the package does not contain assembly reference or content files that are compatible with that framework.

Not sure how to resolve this issue. Could use some help on this. Thank you in advance!

ahmad
  • 2,149
  • 4
  • 21
  • 38
  • System.Threading.Timer doesn't have a PCL compatible binary. – Jason Aug 24 '15 at 21:17
  • So if I want to use a timer based task in PCL? – ahmad Aug 24 '15 at 21:22
  • 8
    This is a dup: There are several Q/A here concerning the same thing, try: http://stackoverflow.com/questions/30399796/xamarin-forms-error-using-system-timers-and-sysem-json – SushiHangover Aug 24 '15 at 21:34
  • Yeah I found a similar solution, not the one you recommended though. However I will mark this as a dup regardless so people can be encouraged to look for other answers. – ahmad Aug 25 '15 at 18:51

0 Answers0