Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"are you missing a using directive or an assembly reference?" but the namespace and reference are correct

I've got the following error when builing my project.

The type or namespace name 'OvuMenu' could not be found (are you missing a using directive or an assembly reference?)

But I have put a using in my code and a reference to the dll. It is a WPF application that exists of 3 projects.

I checked the references, even intellisense works when I put the using directive in the page.

thanks,

Filip

like image 556
Filip Avatar asked Feb 27 '23 02:02

Filip


1 Answers

using '.net 4.0 Framework' instead of '.net 4.0 framework client profile' is the solution.

Filip

like image 72
Filip Avatar answered Feb 28 '23 14:02

Filip