• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1706
  • Last Modified:

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

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
prosit
Asked:
prosit
1 Solution
 
käµfm³d 👽Commented:
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
 
prositAuthor Commented:
Hm, it was in the .vbproj file, but not edit'able from the GUI...  resolved, thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now