Compiler Error C3292

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3292.

the cli namespace cannot be reopened

The cli namespace cannot be declared in your code. For more information, see Platform, default, and cli Namespaces.

The following sample generates C3292.

// C3292.cpp  
// compile with: /clr /c  
namespace cli {};   // C3292  

Show: