Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 807 Bytes

compiler-error-c3624.md

File metadata and controls

31 lines (23 loc) · 807 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3624
Compiler Error C3624
11/04/2016
C3624
C3624
eaac6a4f-eb11-4e4d-ab12-124ba995c5cf

Compiler Error C3624

'type': use of this type requires a reference to assembly 'assembly'

An assembly (reference) needed to compile your code was not specified; pass the assembly to the #using directive.

Example

The following sample generates 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