无法在不同的计算机上使用 Visual Studio 项目

Unable to use Visual Studio project on different computer

我正在桌面上处理一个项目(winforms、C++/Cli)。当我复制项目文件以在我的笔记本电脑中使用它时,设计器无法打开。

对第 3 方库的引用 [MetroFramework] 已正确链接(项目编译 & 运行 很好,没有构建错误)
但如果我打开设计师我收到以下错误

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"

第 99 行的代码:

this->metroTabControl1 = (gcnew MetroFramework::Controls::MetroTabControl());

注意: 在设计器中,如果我单击 ignore & Continue,我将获得普通的 win 表单。在这里,如果我拖放 MetroFramework 的 UI 控件 (metroTabControl),它可以正常显示。但如果我再次关闭并重新打开设计器,我会看到同样的错误!!

尝试了 here & here 的一些建议,其中 none 行得通!

删除所有工具箱项和引用。在 vcproj 中提供完整路径。删除然后连接所需的相应 DLL。