Solved

Compiler warning - 'System.Threading.Tasks' doesn't contain any public member or cannot be found. Make sure the namespace or the type ...

Posted on 2014-12-22
2
1,138 Views
Last Modified: 2014-12-22
Hi,

I downgraded a project from 4.5.1 to 3.5 (server compatibility) and then I got this warning:

Namespace or type specified in the project-level Imports 'System.Threading.Tasks' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

The program still works fine, but I'd like to get rid of this error if possible.

tnx
~j
0
Comment
Question by:prosit
2 Comments
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
Comment Utility
As far as I can tell, TPL was introduced with .NET 4.0. If you're rocking 3.5, then that would be why you get the error. Have you referenced the namespace anywhere? There may be an entry in your project file.
0
 
LVL 2

Author Closing Comment

by:prosit
Comment Utility
Hm, it was in the .vbproj file, but not edit'able from the GUI...  resolved, thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now