Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2008 找不到系统集合_Visual Studio 2008_.net 3.5_C++ Cli - Fatal编程技术网

Visual studio 2008 找不到系统集合

Visual studio 2008 找不到系统集合,visual-studio-2008,.net-3.5,c++-cli,Visual Studio 2008,.net 3.5,C++ Cli,尝试使用VS 2008和.NET framework 3.5编译c++/cli程序 这些陈述有效: using namespace System::Collections; using namespace System::Collections::Generic; 但是专门的集合名称空间没有显示 using namespace System::Collections::Specialized; 我做错了什么?是否缺少某些程序集?否,它主要位于System.dll中,该程序集通常由项目模板添加

尝试使用VS 2008和.NET framework 3.5编译c++/cli程序

这些陈述有效:

using namespace System::Collections;
using namespace System::Collections::Generic;
但是专门的集合名称空间没有显示

using namespace System::Collections::Specialized;

我做错了什么?是否缺少某些程序集?

否,它主要位于System.dll中,该程序集通常由项目模板添加。未添加程序集引用的Virgin C++/CLI项目:

是的,我忘了在参考资料中指定“系统”,这就解决了它