Teilen über


Compilerfehler C3624

'type': Die Verwendung dieses Typs erfordert einen Verweis auf assembly 'assembly'

Bemerkungen

Es wurde keine Assembly (Referenz) angegeben, die zum Kompilieren des Codes erforderlich ist. übergeben Sie die Assembly an die #using-Direktive .

Beispiel

Im folgenden Beispiel wird C3624 generiert:

// 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