I was working on a project (winforms, C++/Cli) on my desktop. When I copy project files to use it in my laptop, designer do not open.
References to the 3rd party library[MetroFramework] is properly linked (project compile & run fine, no build error)
but if I open designer I receive the following error
C++ CodeDom parser error: Line:99,Column:27 --unknown type".please make sure that the assembly that contains this type is referenced. if this is a part of your development project, make sure that the project has been successfully built"
code at line 99:
this->metroTabControl1 = (gcnew MetroFramework::Controls::MetroTabControl());
Note: In designer, if I click on ignore & Continue
, I get plain win form. Here if I drag & drop MetroFramework's UI control (metroTabControl) it display's fine. but if i close & reopen designer again i see the same error!!
Tried few suggestions from here & here, none of them worked!