Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1788
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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