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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

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