Errore del compilatore C3468
'type': i tipi possono essere inoltrati solo a un assembly:
'file
' non è un assembly
È possibile inoltrare solo i tipi in un assembly.
Per altre informazioni, vedere Inoltro dei tipi (C++/CLI).
Esempi
L'esempio seguente crea un modulo.
// C3468.cpp
// compile with: /LN /clr
public ref class R {};
L'esempio seguente genera l'errore C3468.
// C3468_b.cpp
// compile with: /clr /c
#using "C3468.netmodule"
[ assembly:TypeForwardedTo(R::typeid) ]; // C3468