Export (0) Print
Expand All
Expand Minimize

Compiler Error C3468

Error Message

'type' : you can only forward a type to an assembly:

'file' is not an assembly

Only types in an assembly can be forwarded.

For more information, see Type Forwarding.


The following sample creates a module.

// C3468.cpp
// compile with: /LN /clr
public ref class R {};

The following sample generates C3468.

// C3468_b.cpp
// compile with: /clr /c
#using "C3468.netmodule"
[ assembly:TypeForwardedTo(R::typeid) ];   // C3468

Community Additions

© 2014 Microsoft