Visual Studio wizards generate code in your source files, either when the project is created, or when functionality is added via a code wizard.

When upgrading a project, it is usually necessary to upgrade the wizard-generated code as well. For Microsoft Visual C++ 2005, a common scenario is upgrading code written with Managed Extensions for C++ to use new C++ language features instead.

Upgrading Managed Extensions for C++

Use Microsoft Visual C++ 2005 to generate a new project of the same type, then either move your existing code into the new project or cut-and-paste the wizard-generated portions of the new project into the existing one.

For the most part, upgrading from Managed Extensions for C++ is just a matter of changing the syntax, but there are some semantic differences.