“type”:使用此类型需要引用程序集“assembly”
未指定编译代码所需的程序集(引用);将程序集传递给 #using 指令。
示例
以下示例生成 C3624:
// C3624.cpp
// compile with: /clr /c
#using <System.Windows.Forms.dll>
// Uncomment the following 2 lines to resolve.
// #using <System.dll>
// #using <System.Drawing.dll>
using namespace System;
public ref class MyForm : public Windows::Forms::Form {}; // C3624