c# - How to suppress Tasks.Task different PublicKeyToken error -


i noticed 1 line of code underlined. if understand correctly, error means have 2 different versions of library in solution. error doesn't stop solution compiling , works it's supposed work. reason of visual studio underlining line of code? how can stop happening? incoherence?

the exact error is:

cannot convert instance argument type 'system.threading.tasks.task [mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]' 'system.threading.tasks.task [system.threading.tasks, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a]' 

enter image description here

i use nito.asyncex v3.0.1 package in webapi (v5.2.3 think) solution targets .net framework 4.5.1. let me know if need more information.

i removed reference system.runtime , seems fixed issue. followed advices below question kind of blindly, seems same issue.

problems references tpl dataflow , tpl in vs 2012 rc


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -