Compiler construction 模糊符号

Compiler construction 模糊符号,compiler-construction,visual-c++,linker,managed-c++,Compiler Construction,Visual C++,Linker,Managed C++,有人可以帮助您解决此错误吗?您的项目从两个位置导入System.Windows.Forms,一个是从SDK,另一个是从部署的.Net framework。修复源代码和/或包含路径以仅包含一次,最好是SDK中的源代码和/或包含路径。您能否详细说明如何修复此问题?在从项目中删除某个文件/类后,我开始遇到这种情况,但我看不出在哪里同时包含SDK和.Net framework。 1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\obji

有人可以帮助您解决此错误吗?

您的项目从两个位置导入System.Windows.Forms,一个是从SDK,另一个是从部署的.Net framework。修复源代码和/或包含路径以仅包含一次,最好是SDK中的源代码和/或包含路径。

您能否详细说明如何修复此问题?在从项目中删除某个文件/类后,我开始遇到这种情况,但我看不出在哪里同时包含SDK和.Net framework。
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5934) : error C2872: 'IDataObject' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(251) : System::Windows::Forms::IDataObject IDataObject'
1>        or       'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll : System::Windows::Forms::IDataObject