The .NET compiler could not find the link

I want to use a third-party control (dll) in a Winforms application. I can integrate the control into the toolbar and then drag it into the Windows form. It all works. But during compilation I get an error message:

Cannot find the name of the type or namespace "...." (are you missing the using directive or assembly references?)

The library is also shown below links (explorer). But there is no corresponding β€œuse of statement”. I also cannot add usage ... manually. Intellisence does not give me the missing element. So what is wrong here?

+4
source share
1 answer

I am 99% sure that the .net framework client profile is installed in the Target Framework of your project. change it and everything will be fine.

+4
source

Source: https://habr.com/ru/post/1498985/


All Articles